/* selfActual Scheduler · the public booking page. Paper and ink, Hanken Grotesk throughout (selfactual.ai's
   house font: headlines at 800, tight). A host's picked headline font sets --font-head and --head-weight. */
:root {
  --bg: #fafaf7; --ink: #101418; --text: #101418; --muted: #4a5560; --faint: #6b7680;
  --line: rgba(16, 20, 24, 0.14); --surface: #f1f1ec; --card: #ffffff;
  --accent: #2563eb; --accent-700: #1d4ed8; --accent-100: #dbe6fd; --bad: #b42318;
  --radius: 16px; --radius-sm: 6px;
  --font-head: 'Hanken Grotesk', system-ui, sans-serif; --head-weight: 800; --font-body: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--text); font: 400 15px/1.55 var(--font-body); min-height: 100vh; display: flex; flex-direction: column; }
.top { padding: 20px max(16px, env(safe-area-inset-left, 0px)) 0; max-width: 720px; width: 100%; margin: 0 auto; }
.brand { font: 800 20px/1 var(--font-body); letter-spacing: -0.02em; color: var(--ink); text-decoration: none; }
.brand span { color: var(--accent); }
main { flex: 1; width: 100%; max-width: 720px; margin: 0 auto; padding: 24px max(16px, env(safe-area-inset-left, 0px)) 40px; }
.card { background: var(--card); border-radius: var(--radius); box-shadow: 0 1px 2px rgba(16, 20, 24, 0.08); padding: 28px; }
.kicker { margin: 0 0 6px; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
h1 { margin: 0 0 8px; font: var(--head-weight) 32px/1.06 var(--font-head); letter-spacing: -0.03em; text-wrap: balance; }
h2 { margin: 24px 0 10px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.hl { color: var(--accent-700); }
.lede { margin: 0; color: var(--muted); max-width: 52ch; }
.note { margin: 12px 0 0; color: var(--muted); font-size: 14px; }
.rule { border-left: 4px solid var(--accent); padding-left: 14px; margin: 16px 0 0; color: var(--muted); }
.row { display: flex; flex-wrap: wrap; gap: 8px; }
.pick { appearance: none; border: 1px solid var(--line); background: var(--card); color: var(--text); font: 600 14px/1.2 var(--font-body); padding: 9px 14px; border-radius: var(--radius-sm); cursor: pointer; font-variant-numeric: tabular-nums; }
.pick:hover { border-color: var(--faint); }
.pick[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.pick:focus-visible, .btn:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.days { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.day { text-align: left; }
.day small { display: block; font-weight: 400; color: inherit; opacity: 0.8; }
.day[disabled] { opacity: 0.4; cursor: default; }
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.empty { padding: 14px; background: var(--surface); border-radius: var(--radius-sm); color: var(--muted); }
form { display: grid; gap: 14px; margin-top: 18px; }
label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
input, textarea { width: 100%; font: 400 15px/1.4 var(--font-body); color: var(--text); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 9px 12px; }
textarea { min-height: 84px; resize: vertical; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.btn { appearance: none; border: 0; border-radius: var(--radius-sm); background: var(--accent); color: #fff; font: 600 15px/1 var(--font-body); padding: 12px 18px; cursor: pointer; justify-self: start; }
.btn:hover { background: var(--accent-700); }
.btn[disabled] { opacity: 0.45; cursor: default; }
.btn-quiet { background: transparent; color: var(--accent-700); padding: 12px 4px; }
.btn-quiet:hover { background: transparent; text-decoration: underline; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 18px; }
.err { color: var(--bad); font-size: 14px; margin: 0; }
.done { background: var(--ink); color: #eef1f4; }
.done .kicker { color: #67e8f9; }
.done .lede, .done .note { color: #c9d1d9; }
.done a { color: #38bdf8; }
.mono { font-family: ui-monospace, 'IBM Plex Mono', SFMono-Regular, Menlo, monospace; font-size: 13px; overflow-wrap: anywhere; }
.foot { max-width: 720px; width: 100%; margin: 0 auto; padding: 0 max(16px, env(safe-area-inset-left, 0px)) 28px; color: var(--faint); font-size: 13px; }
@media (max-width: 520px) { .card { padding: 20px; } h1 { font-size: 27px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
.people { display: grid; gap: 12px; margin-top: 16px; }

/* The profile card: a gradient panel, the photo in a ring over its edge, a social rail. */
.people { display: grid; gap: 18px; margin: 22px 0 6px; }
.pcard { position: relative; display: grid; grid-template-columns: 170px minmax(0, 1fr) auto; align-items: center; gap: 22px; padding: 22px 22px 22px 0; background: #fff; border-radius: 28px; overflow: hidden; box-shadow: 0 25px 55px rgba(37, 99, 235, 0.12), 0 2px 6px rgba(16, 20, 24, 0.06); }
.pcard-visual { position: absolute; inset: 0 auto 0 0; width: 132px; background: linear-gradient(160deg, #6366f1 0%, #2563eb 50%, #06b6d4 100%); transform: skewX(-8deg); transform-origin: bottom left; box-shadow: 10px 0 0 rgba(37, 99, 235, 0.10), 20px 0 0 rgba(6, 182, 212, 0.06); }
.pcard-photo { position: relative; justify-self: end; width: 128px; height: 128px; border-radius: 50%; padding: 6px; background: #fff; box-shadow: 0 12px 28px rgba(16, 20, 24, 0.18); }
.pcard-photo img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.pcard-photo::after { content: ""; position: absolute; right: -10px; bottom: 14px; width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, #2563eb, #06b6d4); box-shadow: 0 8px 18px rgba(37, 99, 235, 0.35); }
.pcard-initials { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: var(--ink); color: #fff; font: 800 40px/1 var(--font-body); }
.pcard-body { min-width: 0; }
.pcard-open { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 999px; background: #e8f8ef; color: #127a42; font-size: 12px; font-weight: 600; }
.pcard-open i { width: 7px; height: 7px; border-radius: 50%; background: #1fae5b; box-shadow: 0 0 0 4px rgba(31, 174, 91, 0.18); }
.pcard-name { margin: 10px 0 0; font: var(--head-weight) 28px/1.05 var(--font-head); letter-spacing: -0.03em; }
.pcard-role { margin-top: 4px; color: var(--faint); font-size: 14px; }
.pcard-bio { margin: 10px 0 0; color: var(--muted); font-size: 15px; max-width: 54ch; }
.pcard-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.pcard-tags span { padding: 5px 12px; border-radius: 999px; background: #eef1fb; color: #3b45a0; font-size: 12px; font-weight: 600; }
.pcard-cta { display: inline-flex; gap: 8px; margin-top: 14px; color: #4f46e5; font-weight: 700; font-size: 14px; text-decoration: none; }
.pcard-cta:hover span { transform: translateX(3px); }
.pcard-cta span { transition: transform .15s; }
.pcard-social { align-self: stretch; display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 10px; border-radius: 999px; background: #f6f7fb; }
.pcard-social a { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; color: #fff; background: linear-gradient(135deg, #2563eb, #06b6d4); box-shadow: 0 8px 18px rgba(37, 99, 235, 0.3); }
.pcard-social a:hover { transform: translateY(-2px); }
@media (max-width: 620px) {
  .pcard { grid-template-columns: 1fr; padding: 0 20px 22px; gap: 14px; text-align: left; }
  .pcard-visual { inset: 0 0 auto 0; width: auto; height: 96px; transform: none; }
  .pcard-photo { justify-self: start; margin-top: 30px; width: 112px; height: 112px; }
  .pcard-social { flex-direction: row; justify-self: start; border-radius: 999px; }
}

/* "Don't record this call": a checkbox on one line, its note under it. */
.check { display: grid; grid-template-columns: auto 1fr; align-items: start; column-gap: 10px; font-weight: 600; }
.check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--accent); }
.check small { grid-column: 2; font-weight: 400; color: var(--faint); font-size: 13px; }

/* The office-hours page: its "add" buttons are links. */
a.btn, a.pick { display: inline-block; text-decoration: none; }

/* The office-hours page (F41b): a wider page with real sections. A dark gradient hero with the
   two actions up top, four tiles, the founders' profile cards, pull quotes, then the calendar. */
.oh-page .top, .oh-page .foot { max-width: 960px; }
.oh-page main.oh { max-width: 960px; display: grid; gap: 64px; padding-top: 28px; padding-bottom: 64px; }
.oh-page .foot { font-size: 14px; }
.oh-top { padding-top: 40px; }
.oh-logo { display: inline-block; }
.oh-logo img { display: block; height: 72px; width: auto; }
.oh-page .foot a { color: var(--accent-700); }

.oh-hero { position: relative; overflow: hidden; isolation: isolate; padding: 56px 52px 44px; border-radius: 32px; color: #fff;
  background: linear-gradient(135deg, #101418 0%, #172554 55%, #1e3a8a 100%); box-shadow: 0 30px 60px rgba(30, 58, 138, 0.25); }
.oh-hero-art { position: absolute; z-index: -1; right: -120px; top: -140px; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #06b6d4 0%, #2563eb 38%, #6366f1 62%, transparent 72%); opacity: 0.55; filter: blur(8px); }
.oh-live { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 22px; padding: 6px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.18); font-size: 13px; font-weight: 600; letter-spacing: 0.02em; }
.oh-live i { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.25); }
.oh-hero h1 { margin: 0; font-size: 60px; line-height: 1.02; max-width: 14ch; color: #fff; }
.oh-hero .hl { color: #67e8f9; }
.oh-lede { margin: 20px 0 0; max-width: 46ch; font-size: 20px; line-height: 1.5; color: #dbe4f0; }
.oh-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.oh-when-line { margin: 22px 0 0; font-size: 15px; color: #b6c3d6; }
.oh-when-line b { color: #fff; font-weight: 600; }

.oh-btn { display: inline-flex; align-items: center; justify-content: center; padding: 15px 24px; border-radius: 999px; font: 700 16px/1 var(--font-body);
  text-decoration: none; transition: transform .15s, box-shadow .15s, background .15s; }
.oh-btn:hover { transform: translateY(-1px); }
.oh-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.oh-btn-main { background: linear-gradient(135deg, #2563eb, #06b6d4); color: #fff; box-shadow: 0 10px 24px rgba(37, 99, 235, 0.35); }
.oh-btn-ghost { background: rgba(255, 255, 255, 0.08); color: #fff; border: 1px solid rgba(255, 255, 255, 0.35); }
.oh-btn-ghost:hover { background: rgba(255, 255, 255, 0.16); }
.oh-btn-line { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.oh-btn-line:hover { border-color: var(--accent); color: var(--accent-700); }

.oh-label { margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-700); }
.oh-h2 { margin: 0 0 26px; font: var(--head-weight) 38px/1.08 var(--font-head); letter-spacing: -0.03em; text-transform: none; color: var(--ink); text-wrap: balance; }
.oh-faint { color: var(--faint); }

.oh-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.oh-tile { padding: 26px; background: #fff; border-radius: 22px; box-shadow: 0 1px 2px rgba(16, 20, 24, 0.06), 0 14px 30px rgba(16, 20, 24, 0.05); }
.oh-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; color: #fff;
  background: linear-gradient(135deg, #6366f1, #2563eb 55%, #06b6d4); box-shadow: 0 8px 18px rgba(37, 99, 235, 0.3); }
.oh-tile h3 { margin: 18px 0 6px; font: 700 20px/1.25 var(--font-body); letter-spacing: -0.01em; }
.oh-tile p { margin: 0; font-size: 17px; line-height: 1.5; color: var(--muted); }
.oh-partners { margin: 18px 0 0; padding: 18px 22px; border-radius: 18px; background: var(--accent-100); color: #1e3a8a; font-size: 17px; }

.oh .people { gap: 18px; margin: 0; }

.oh-quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.oh-quote { position: relative; margin: 0; padding: 30px 28px 24px; background: #fff; border-radius: 22px;
  box-shadow: 0 1px 2px rgba(16, 20, 24, 0.06), 0 14px 30px rgba(16, 20, 24, 0.05); display: flex; flex-direction: column; }
.oh-mark { display: block; height: 40px; font: 700 80px/0.95 Georgia, "Times New Roman", serif; color: var(--accent); }
.oh-quote blockquote { margin: 0; flex: 1; font-size: 19px; line-height: 1.5; color: var(--ink); }
.oh-quote figcaption { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--faint); font-size: 14px; }
.oh-quote figcaption b { color: var(--ink); font-weight: 700; }

.oh-add { padding: 40px; background: #fff; border-radius: 28px; box-shadow: 0 1px 2px rgba(16, 20, 24, 0.06), 0 20px 40px rgba(16, 20, 24, 0.06); }
.oh-add .oh-h2 { margin-bottom: 10px; }
.oh-sub { margin: 0; font-size: 18px; color: var(--muted); }
.oh-cal { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.oh-small { margin: 16px 0 0; font-size: 14px; color: var(--faint); }
.oh-mono { margin-top: 4px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; overflow-wrap: anywhere; }
.oh-zoom { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 28px; padding: 20px 22px; border-radius: 18px; background: var(--surface); }
.oh-zoom .oh-label { margin: 0; }

@media (max-width: 720px) {
  .oh-page main.oh { gap: 48px; }
  .oh-top { padding-top: 28px; }
  .oh-logo img { height: 48px; }
  .oh-hero { padding: 40px 24px 32px; border-radius: 24px; }
  .oh-hero h1 { font-size: 40px; }
  .oh-lede { font-size: 18px; }
  .oh-btn { width: 100%; }
  .oh-h2 { font-size: 30px; }
  .oh-tiles, .oh-quotes { grid-template-columns: 1fr; }
  .oh-add { padding: 26px 20px; }
  .oh-zoom { flex-direction: column; align-items: stretch; }
}
