:root {
  color-scheme: light dark;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  background: Canvas;
  color: CanvasText;
  accent-color: #0a84ff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(40px, 9vh, 88px) 24px 24px;
}

.shell,
.site-footer {
  width: 100%;
  max-width: 760px;
}

.shell {
  flex: 1;
}

@media (max-width: 600px) {
  body {
    padding-inline: 18px;
  }
}

.panel {
  padding: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: #0a84ff;
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 28px;
  max-width: 18ch;
  font-size: clamp(2rem, 7vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

h2 {
  margin: 32px 0 12px;
  font-size: 1rem;
  font-weight: 700;
}

h3 {
  margin: 28px 0 8px;
  font-size: 1rem;
}

p,
li {
  color: color-mix(in srgb, currentColor 74%, transparent);
  line-height: 1.55;
}

a {
  color: #0a84ff;
  text-underline-offset: 0.18em;
}

code {
  font-size: 0.9em;
}

.meeting-summary {
  display: flex;
  gap: 10px;
  align-items: baseline;
}

.meeting-summary h2 {
  margin: 0;
  font-size: 1.15rem;
}

.meeting-summary span,
.meeting-method span {
  color: color-mix(in srgb, currentColor 58%, transparent);
  font-size: 0.9rem;
}

.meeting-method {
  display: grid;
  gap: 2px;
  color: CanvasText;
}

.notice {
  max-width: 60ch;
  margin-top: 26px;
}

.slot-groups {
  display: grid;
  gap: 24px;
  margin-block: 18px;
}

.slot-day-heading {
  margin: 0 0 8px;
  color: color-mix(in srgb, currentColor 72%, transparent);
  font-size: 0.9rem;
  letter-spacing: 0.01em;
}

.slot-grid {
  display: grid;
  gap: 8px;
}

@media (min-width: 560px) {
  .slot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

button,
input,
textarea {
  font: inherit;
}

button {
  min-height: 44px;
  border-radius: 10px;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid color-mix(in srgb, currentColor 14%, transparent);
  background: transparent;
  color: CanvasText;
  cursor: pointer;
}

button:focus-visible,
input:focus-visible,
textarea:focus-visible,
a:focus-visible {
  outline: 3px solid color-mix(in srgb, #0a84ff 42%, transparent);
  outline-offset: 3px;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

button.primary {
  width: 100%;
  margin-top: 20px;
  padding-inline: 14px;
  border: 1px solid #0a84ff;
  background: #0a84ff;
  color: white;
  font-weight: 700;
}

button.secondary-action {
  width: 100%;
  background: transparent;
}

.slot-button {
  min-height: 52px;
  line-height: 1.35;
  overflow-wrap: anywhere;
  text-align: left;
  white-space: normal;
}

.slot-button.selected {
  color: #0a84ff;
  border-color: #0a84ff;
  font-weight: 700;
}

.field {
  display: grid;
  gap: 6px;
  margin-block: 12px;
}

.selected-time {
  color: CanvasText;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  min-height: 44px;
  border-radius: 10px;
  padding: 10px 12px;
  border: 1px solid color-mix(in srgb, currentColor 20%, transparent);
  background: Canvas;
  color: CanvasText;
}

textarea {
  resize: vertical;
}

.fine-print,
.empty-copy {
  font-size: 0.9rem;
}

.status {
  display: grid;
  gap: 12px;
  margin-top: 20px;
  padding: 14px;
  border-radius: 10px;
  background: color-mix(in srgb, #0a84ff 12%, Canvas);
  line-height: 1.5;
}

.status[data-kind="success"] {
  background: color-mix(in srgb, #34c759 15%, Canvas);
}

.status[data-kind="error"] {
  background: color-mix(in srgb, #ff453a 14%, Canvas);
}

.empty-state {
  max-width: 620px;
}

.landing {
  max-width: 720px;
}

.landing h1 {
  max-width: 14ch;
  margin-bottom: 24px;
}

.landing-lede {
  max-width: 54ch;
  margin: 0;
  font-size: clamp(1.08rem, 2.5vw, 1.3rem);
}

.landing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 64px;
}

.landing-grid article {
  border-top: 1px solid color-mix(in srgb, currentColor 16%, transparent);
  padding-top: 14px;
}

.landing-grid h2 {
  margin: 0 0 8px;
}

.landing-grid p {
  margin: 0;
  font-size: 0.95rem;
}

.landing-note {
  max-width: 54ch;
  margin: 56px 0 0;
  font-size: 0.95rem;
}

@media (max-width: 600px) {
  .landing-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 48px;
  }

  .landing-note {
    margin-top: 44px;
  }
}

.legal h1 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 6vw, 3.6rem);
}

.legal h2 {
  margin-top: 34px;
  font-size: 1.18rem;
}

.legal ul,
.legal ol {
  padding-left: 1.25rem;
}

.legal .updated {
  margin-bottom: 34px;
  font-size: 0.9rem;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 64px;
  padding-top: 18px;
  border-top: 1px solid color-mix(in srgb, currentColor 12%, transparent);
  font-size: 0.88rem;
}

[hidden] {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
