/* Conclave public pages. Tokens and type follow the "Conclave Website" design in Claude Design. */
:root {
  --bg: oklch(93% 0.008 80);
  --bg-deep: oklch(91% 0.008 80);
  --card: oklch(96% 0.006 80);
  --ink: oklch(20% 0.01 60);
  --on-ink: oklch(91% 0.008 80);
  --on-ink-muted: oklch(78% 0.01 80);
  --on-ink-faint: oklch(60% 0.02 60);
  --on-ink-border: oklch(40% 0.02 60);
  --body: oklch(35% 0.02 60);
  --lede: oklch(42% 0.02 60);
  --muted: oklch(45% 0.02 60);
  --plum: oklch(36% 0.12 335);
  --plum-light: oklch(80% 0.08 335);
  --on-plum: oklch(95% 0.006 80);
  --gold: oklch(55% 0.06 70);
  --hairline: oklch(82% 0.01 80);
  --hairline-card: oklch(84% 0.01 80);
  --hairline-row: oklch(88% 0.01 80);
  --track: oklch(86% 0.01 80);
  --dashed: oklch(70% 0.02 80);
  --serif: "Cardo", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --display: "Cinzel", "Trajan Pro", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--bg); color: var(--ink);
  font-family: var(--serif); font-size: 18px; line-height: 1.5;
}
main { flex: 1; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--plum); }
img { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; font-weight: 400; line-height: 1.1; text-wrap: pretty; }
p { margin: 0; }

/* ---- Type utilities ---- */
.caps { font-family: var(--display); letter-spacing: .16em; text-transform: uppercase; font-size: 12px; }
.eyebrow { font-family: var(--display); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--plum); }
.eyebrow.ink { color: var(--ink); }
.eyebrow.light { color: var(--plum-light); }
.label { font-family: var(--display); font-size: 13px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; }
.label.small { font-size: 10px; font-weight: 400; }
.mono { font-family: var(--mono); font-size: 13px; }
.meta { font-size: 15px; font-style: italic; color: var(--muted); }
.lede { font-size: 21px; line-height: 1.45; color: var(--lede); max-width: 460px; }
.note { font-size: 16px; line-height: 1.5; color: var(--lede); text-wrap: pretty; }
.note a, .prose a, .aside a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* ---- Layout ---- */
.wrap { max-width: 1120px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.wrap.narrow { max-width: 760px; }
.section { padding-top: 96px; }
.section.first { padding-top: 80px; }
.section.last { padding-bottom: 96px; }
.section-head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap;
  border-bottom: 1px solid var(--ink); padding-bottom: 18px;
}
.section-head h1, .section-head h2 { margin-top: 8px; font-size: 36px; }
.section-head h1 { font-size: 38px; }
.section-head .aside-text { font-size: 16px; font-style: italic; color: var(--muted); max-width: 380px; text-wrap: pretty; }
.section-head p.lede { margin-top: 14px; font-size: 19px; line-height: 1.5; max-width: 620px; }
.page-head { border-bottom: 1px solid var(--ink); padding-bottom: 18px; }
.page-head h1 { margin-top: 8px; font-size: 38px; }
.page-head .mono { font-size: 15px; color: var(--muted); margin-top: 6px; overflow-wrap: anywhere; }
.page-head p.lede { margin-top: 14px; font-size: 19px; line-height: 1.5; max-width: 620px; }
.grid { display: grid; gap: 20px; margin-top: 28px; }
.grid.chambers { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid.cast { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid.tight { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.grid.pair { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: oklch(93% 0.008 80 / .92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--hairline);
}
.site-header::before { content: ""; display: block; height: 3px; background: var(--ink); }
.site-header .wrap { padding-top: 18px; padding-bottom: 18px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand:hover { color: var(--ink); }
.brand .word { font-family: var(--display); font-size: 19px; letter-spacing: .18em; font-weight: 500; text-transform: uppercase; }
.mark { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--ink); position: relative; flex: none; display: grid; place-items: center; }
.mark::before { content: ""; width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--gold); }
.mark::after { content: ""; position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--plum); }
.site-nav { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; font-family: var(--display); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.site-nav a { padding-bottom: 4px; border-bottom: 2px solid transparent; }
.site-nav a[aria-current="page"] { border-bottom-color: var(--plum); }
.site-nav a.btn { padding: 10px 18px; border: 1px solid var(--ink); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 14px 22px; border: 1px solid var(--ink); color: var(--ink);
  font-family: var(--display); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; line-height: 1.2;
  cursor: pointer; background: transparent; white-space: nowrap;
}
.btn:hover { color: var(--plum); border-color: var(--plum); }
.btn.primary { padding: 14px 26px; background: var(--ink); border-color: var(--ink); color: var(--on-ink); font-weight: 600; }
.btn.primary:hover { background: var(--plum); border-color: var(--plum); color: var(--on-plum); }
.btn.on-dark { border-color: var(--on-ink); color: var(--on-ink); }
.btn.on-dark:hover { background: var(--on-ink); color: var(--ink); }
.btn.small { padding: 12px 20px; font-size: 12px; }
.btn.danger { border-color: var(--plum); color: var(--plum); }
.btn.danger:hover { background: var(--plum); color: var(--on-plum); }
.btn.apple {
  padding: 16px; background: #000; border-color: #000; color: #fff; border-radius: 8px;
  font-family: -apple-system, system-ui, sans-serif; font-size: 17px; font-weight: 500; letter-spacing: 0; text-transform: none;
}
.btn.apple:hover { background: #111; color: #fff; }
.btn-row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.link-caps { font-family: var(--display); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 4px; }

/* ---- Hero ---- */
.hero { padding-top: 56px; padding-bottom: 96px; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 48px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; }
.hero h1 { font-size: clamp(40px, 5vw, 60px); line-height: 1.05; letter-spacing: -.01em; }
.hero .btn-row { margin-top: 8px; }
.hero-art { aspect-ratio: 4 / 5; max-height: 600px; position: relative; overflow: hidden; border: 1px solid var(--hairline); background: var(--card); justify-self: center; width: 100%; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; }
.hero-art .caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 28px;
  background: linear-gradient(to top, oklch(93% 0.008 80), oklch(93% 0.008 80 / 0));
  display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap;
}
.hero-art .caption .eyebrow { font-size: 11px; letter-spacing: .2em; color: var(--ink); }

/* ---- Cards ---- */
.card { background: var(--card); border: 1px solid var(--hairline-card); }
.chamber { display: flex; flex-direction: column; border-color: var(--hairline); }
.chamber .still { height: 220px; position: relative; overflow: hidden; background: var(--track); }
.chamber .still img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.chamber .numeral { position: absolute; top: 12px; right: 14px; padding: 4px 8px; background: var(--ink); color: var(--on-ink); font-family: var(--display); font-size: 11px; letter-spacing: .16em; }
.chamber .body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.chamber .title { font-size: 26px; line-height: 1.1; }
.chamber .subtitle { font-size: 17px; line-height: 1.4; color: var(--muted); font-style: italic; text-wrap: pretty; }
.person { display: flex; flex-direction: column; gap: 16px; padding: 24px; }
.person .bust { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; border: 1px solid var(--hairline); background: var(--track); }
.person .bust img { width: 100%; height: 100%; object-fit: cover; }
.person .who { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.person .name { font-family: var(--display); font-size: 16px; letter-spacing: .16em; font-weight: 600; text-transform: uppercase; }
.person .role { font-family: var(--display); font-size: 10px; letter-spacing: .18em; color: var(--plum); text-transform: uppercase; }
.person .persona { font-size: 17px; line-height: 1.45; color: var(--body); text-wrap: pretty; }
.footnote { margin-top: 20px; font-size: 16px; font-style: italic; color: var(--muted); text-wrap: pretty; }

/* ---- Steps and minutes (home) ---- */
.steps { list-style: none; margin: 28px 0 0; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.steps li { padding: 24px; background: var(--card); border: 1px solid var(--hairline-card); display: flex; flex-direction: column; gap: 12px; font-size: 17px; line-height: 1.45; color: var(--body); text-wrap: pretty; }
.steps li::before { counter-increment: step; content: counter(step, upper-roman); font-family: var(--display); font-size: 13px; letter-spacing: .18em; color: var(--plum); }
.steps strong { font-weight: 400; color: var(--ink); font-size: 22px; line-height: 1.15; display: block; }
.minutes { margin-top: 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.minutes .cell { padding: 20px 22px; border: 1px solid var(--hairline-card); display: flex; flex-direction: column; gap: 8px; }
.minutes .price { font-size: 30px; line-height: 1; }
.minutes .price span { font-size: 15px; color: var(--muted); }
.minutes .what { font-size: 16px; line-height: 1.4; color: var(--lede); text-wrap: pretty; }

/* ---- Dark panel ---- */
.panel-dark {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 48px; align-items: center;
  padding: 48px; background: var(--ink); color: var(--on-ink);
}
.panel-dark .copy { display: flex; flex-direction: column; gap: 18px; }
.panel-dark h2 { font-size: 36px; }
.panel-dark p { font-size: 19px; line-height: 1.45; color: var(--on-ink-muted); text-wrap: pretty; }
.panel-dark .btn { align-self: flex-start; }
.code { font-family: var(--mono); font-size: 13px; line-height: 1.7; padding: 24px; border: 1px solid var(--on-ink-border); color: oklch(85% 0.01 80); overflow: auto; }
.code .c { color: var(--on-ink-faint); }
.code .gap { margin-top: 12px; }
.status { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; padding: 6px 10px; border: 1px solid var(--plum); color: var(--plum); font-family: var(--display); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; }
.status.on-dark { border-color: var(--plum-light); color: var(--plum-light); }

/* ---- Notice ---- */
.notice { padding: 18px 22px; border: 1px solid var(--plum); border-left-width: 4px; display: flex; flex-direction: column; gap: 6px; }
.notice p { font-size: 16px; line-height: 1.5; color: var(--body); text-wrap: pretty; }

/* ---- Two-column page with aside (connector) ---- */
.columns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: 56px; align-items: start; padding-top: 64px; padding-bottom: 120px; }
.columns .main { display: flex; flex-direction: column; gap: 48px; min-width: 0; }
.aside { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 96px; }
.aside .box { padding: 24px; border: 1px solid var(--hairline-card); display: flex; flex-direction: column; gap: 12px; }
.aside .box.card { background: var(--card); }
.aside .quotes { display: flex; flex-direction: column; gap: 10px; font-size: 16px; line-height: 1.45; font-style: italic; color: var(--body); }
.aside .quotes div { padding: 12px 14px; border-left: 2px solid var(--ink); }
.aside .box p { font-size: 15px; line-height: 1.5; color: var(--lede); text-wrap: pretty; }
.block { display: flex; flex-direction: column; gap: 14px; }
.block.wide { gap: 18px; }
.address { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 16px 20px; background: var(--ink); color: var(--on-ink); font-family: var(--mono); font-size: 15px; }
.address span:first-child { overflow-wrap: anywhere; }
.address button { font-family: var(--display); font-size: 10px; letter-spacing: .16em; padding: 6px 10px; border: 1px solid var(--on-ink-faint); background: transparent; color: inherit; cursor: pointer; text-transform: uppercase; }
.address button:hover { border-color: var(--on-ink); }
.howto { padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.howto ol { margin: 0; padding-left: 22px; font-size: 17px; line-height: 1.55; display: flex; flex-direction: column; gap: 6px; }
.howto .meta { font-size: 14px; }
.tool { padding: 18px 20px; border: 1px solid var(--hairline-card); display: flex; flex-direction: column; gap: 6px; }
.tool .mono { color: var(--plum); }
.tool p { font-size: 16px; line-height: 1.45; color: var(--body); text-wrap: pretty; }

/* ---- Prose pages (privacy, terms, support) ---- */
.prose { padding-top: 64px; padding-bottom: 120px; display: flex; flex-direction: column; gap: 32px; }
.prose section { display: flex; flex-direction: column; gap: 8px; }
.prose h2 { font-size: 24px; }
.prose p, .prose li { font-size: 17px; line-height: 1.55; color: var(--body); text-wrap: pretty; }
.prose p + p { margin-top: 6px; }
.prose ul, .prose ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.prose strong { font-weight: 700; color: var(--ink); }
.prose .card { padding: 22px 26px; }
.prose table { border-collapse: collapse; width: 100%; font-size: 16px; line-height: 1.45; }
.prose td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--hairline-row); color: var(--body); }
.prose td:first-child { color: var(--ink); width: 34%; }
.prose .closing { font-size: 15px; font-style: italic; color: var(--muted); }

/* ---- Account and sign-in (pending web sign-in) ---- */
.centered { padding-top: 96px; padding-bottom: 120px; display: grid; place-items: center; }
.sheet { width: 100%; max-width: 460px; padding: 48px 44px; display: flex; flex-direction: column; gap: 20px; position: relative; }
.sheet::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--ink); }
.sheet h1 { font-size: 34px; }
.sheet p { font-size: 17px; color: var(--lede); line-height: 1.45; text-wrap: pretty; }
.sheet .fine { font-size: 14px; font-style: italic; color: var(--muted); line-height: 1.5; }
.sheet .fine a { text-decoration: underline; }
.account { padding-top: 64px; padding-bottom: 120px; display: flex; flex-direction: column; gap: 56px; }
.account .section-head h1 { font-size: 38px; }
.account .section-head .mono { font-size: 16px; color: var(--muted); margin-top: 4px; overflow-wrap: anywhere; }
.account .group { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.account .group.plan { gap: 22px; }
.group-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.group-head h2 { font-size: 28px; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.plan { padding: 24px; display: flex; flex-direction: column; gap: 10px; cursor: pointer; }
.plan:hover, .plan.selected { border-color: var(--ink); }
.plan .top { display: flex; justify-content: space-between; align-items: center; }
.plan .badge { font-family: var(--display); font-size: 10px; letter-spacing: .16em; color: var(--plum); text-transform: uppercase; }
.plan .price { font-size: 34px; line-height: 1; }
.plan .price span { font-size: 16px; color: var(--muted); }
.plan .desc { font-size: 16px; color: var(--lede); line-height: 1.45; text-wrap: pretty; }
.usage { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 22px 24px; }
.usage .bar-group { display: flex; flex-direction: column; gap: 8px; flex: 1; min-width: 240px; }
.usage .bar-label { display: flex; justify-content: space-between; font-family: var(--display); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; }
.usage .bar { height: 6px; background: var(--track); position: relative; }
.usage .bar i { position: absolute; top: 0; bottom: 0; left: 0; background: var(--plum); }
.table { overflow-x: auto; contain: inline-size; }
.table .row { display: grid; grid-template-columns: 120px 1fr 110px 90px 90px; gap: 16px; padding: 14px 20px; border-bottom: 1px solid var(--hairline-row); align-items: center; font-size: 16px; min-width: 640px; }
.table .row.head { padding: 12px 20px; border-bottom-color: var(--ink); font-family: var(--display); font-size: 10px; letter-spacing: .18em; color: var(--muted); text-transform: uppercase; }
.table .right { text-align: right; }
.table .kind { font-family: var(--display); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.table .kind.plum { color: var(--plum); }
.table .kind.faint { color: var(--muted); }
.connections .row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 16px 20px; border-bottom: 1px solid var(--hairline-row); }
.connections .app { font-size: 18px; }
.connections .mono { font-size: 14px; color: var(--muted); }
.connections .empty { padding: 18px 20px; font-style: italic; color: var(--muted); }
.danger-zone { padding: 28px; border: 1px solid var(--plum); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.danger-zone .copy { max-width: 620px; display: flex; flex-direction: column; gap: 6px; }
.danger-zone p { font-size: 17px; line-height: 1.45; color: var(--body); text-wrap: pretty; }
dialog.modal { border: 0; padding: 0; background: transparent; max-width: none; }
dialog.modal::backdrop { background: oklch(20% 0.01 60 / .55); }
dialog.modal .sheet { max-width: 480px; padding: 40px; box-shadow: 0 40px 90px oklch(10% 0.01 60 / .45); background: var(--card); }
dialog.modal .sheet::before { background: var(--plum); }
dialog.modal h2 { font-size: 30px; }
dialog.modal .actions { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }

/* ---- Footer ---- */
.site-footer { border-top: 1px solid var(--ink); background: var(--bg-deep); }
.site-footer .wrap { padding-top: 32px; padding-bottom: 32px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.site-footer .brand-line { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.site-footer .brand-line .word { font-family: var(--display); font-size: 14px; letter-spacing: .18em; text-transform: uppercase; }
.site-footer .brand-line .meta { font-size: 14px; }
.site-footer nav { display: flex; gap: 24px; flex-wrap: wrap; font-family: var(--display); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.site-footer .legal { font-family: var(--mono); font-size: 13px; color: var(--muted); }

/* ---- Small screens ---- */
@media (max-width: 900px) {
  .columns { grid-template-columns: 1fr; gap: 40px; }
  .aside { position: static; }
}
@media (max-width: 600px) {
  .section { padding-top: 64px; }
  .section.first { padding-top: 56px; }
  .hero { padding-top: 40px; padding-bottom: 64px; }
  .hero-art { aspect-ratio: 4 / 3; max-height: 420px; }
  .section-head h2, .panel-dark h2 { font-size: 30px; }
  .page-head h1, .section-head h1 { font-size: 32px; }
  .panel-dark { padding: 32px 24px; }
  .site-header .wrap { padding-top: 14px; padding-bottom: 14px; }
  .site-nav { gap: 18px; }
  .sheet { padding: 36px 24px; }
  .centered { padding-top: 48px; }
  .hero .btn-row { flex-direction: column; align-items: stretch; }
  .hero .btn { width: 100%; }
  .btn.primary { font-size: 12px; letter-spacing: .14em; padding-left: 18px; padding-right: 18px; }
  .usage .bar-group { min-width: 0; }
  .usage .btn-row { width: 100%; }
  .usage .btn-row .btn { flex: 1; }
  .plans { grid-template-columns: minmax(0, 1fr); }
}
