@font-face {
  font-family: "Suisse Intl";
  src: url("../assets/fonts/SuisseIntl-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Suisse Intl";
  src: url("../assets/fonts/SuisseIntl-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Suisse Intl";
  src: url("../assets/fonts/SuisseIntl-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Mono";
  src: url("../assets/fonts/DMMono-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --magenta: #e91e8c;
  --ink: #171717;
  --black: #000000;
  --white: #ffffff;
  --fog: #f2f2f2;
  --muted: #6b6b6b;
  --line: #e5e5e5;
  --placeholder: #9a9a9a;
  --page-pad: 80px;
  --intro-w: 480px;
  --card-w: 720px;
  --gap: 80px;
  --radius: 8px;
  --font: "Suisse Intl", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "DM Mono", ui-monospace, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--fog); color: var(--ink); }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  min-height: 100vh;
}
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; }

.page { min-height: 100vh; display: flex; flex-direction: column; }
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px var(--page-pad);
  flex-shrink: 0;
}
.logo { display: block; height: 28px; width: auto; }
.logo-mobile { display: none; height: 28px; width: auto; }
.back-link {
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
}
.back-link:hover { color: var(--magenta); }

.main {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--page-pad) 80px;
  display: flex;
  align-items: flex-start;
  gap: var(--gap);
  flex: 1;
}
.intro { width: var(--intro-w); flex-shrink: 0; padding-top: 8px; }
.eyebrow {
  margin: 0 0 16px;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 16px;
  letter-spacing: 0.88px;
  text-transform: uppercase;
  color: var(--magenta);
}
h1 {
  margin: 0 0 16px;
  font-size: 48px;
  line-height: 52px;
  letter-spacing: -1.92px;
  font-weight: 700;
  color: var(--ink);
}
.standfirst {
  margin: 0 0 32px;
  font-size: 16px;
  line-height: 24px;
  color: var(--ink);
  max-width: 480px;
}
.host { display: flex; align-items: center; gap: 16px; margin: 0 0 32px; }
.host img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
}
.host-name { margin: 0; font-size: 16px; line-height: 22px; font-weight: 700; }
.host-role { margin: 4px 0 0; font-size: 14px; line-height: 20px; color: var(--muted); }
.facts { margin: 0; padding: 0; list-style: none; }
.facts li {
  font-size: 14px;
  line-height: 20px;
  color: var(--muted);
  margin: 0 0 8px;
}
.facts li:last-child { margin-bottom: 0; }

.card {
  width: var(--card-w);
  max-width: 100%;
  flex: 1 1 auto;
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  min-width: 0;
}

.stepper { display: flex; align-items: center; gap: 16px; }
.step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  line-height: 18px;
  color: var(--muted);
  font-weight: 400;
  min-width: 0;
}
.step.is-active { color: var(--ink); font-weight: 700; }
.step.is-done { color: var(--ink); }
.step-num {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  line-height: 1;
  flex-shrink: 0;
  color: var(--muted);
}
.step.is-active .step-num {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}
.step.is-done .step-num {
  background: var(--magenta);
  border-color: var(--magenta);
  color: var(--white);
}
.step-rule {
  flex: 1 1 16px;
  height: 1px;
  background: var(--line);
  min-width: 12px;
}
.step-label-short { display: none; }

.calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.month-label {
  margin: 0;
  font-size: 20px;
  line-height: 24px;
  letter-spacing: -0.4px;
  font-weight: 700;
}
.cal-nav { display: flex; gap: 4px; }
.cal-nav button {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
.cal-nav button:hover:not(:disabled) { background: var(--fog); }
.cal-nav button:disabled { color: var(--line); cursor: default; }
.cal-nav svg { display: block; }

.weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin: 16px 0 8px;
}
.weekdays span {
  font-family: var(--mono);
  font-size: 11px;
  line-height: 16px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}
.days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  row-gap: 4px;
}
.day {
  width: 40px;
  height: 40px;
  margin: 0 auto;
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 1;
  color: var(--ink);
}
.day.is-empty { visibility: hidden; pointer-events: none; }
.day.is-unavailable { color: var(--placeholder); cursor: default; }
.day.is-available { cursor: pointer; }
.day.is-available:hover { background: var(--fog); }
.day.is-available::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--magenta);
}
.day.is-selected {
  background: var(--black);
  color: var(--white);
}
.day.is-selected::after { display: none; }

.picker {
  display: grid;
  grid-template-columns: 1fr 264px;
  gap: 32px;
  align-items: start;
}
.times { min-width: 0; }
.times-head {
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  margin: 0 0 12px;
}
.times-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 360px;
  overflow: auto;
}
.slot {
  height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  width: 100%;
  background: var(--white);
}
.slot:hover { border-color: var(--ink); }
.slot.is-selected {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}
.times-empty {
  font-size: 14px;
  line-height: 20px;
  color: var(--muted);
  margin: 0;
}

.tz {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--fog);
  border-radius: var(--radius);
  padding: 12px 16px;
}
.tz-label { font-size: 14px; line-height: 20px; color: var(--muted); }
.tz select {
  appearance: none;
  -webkit-appearance: none;
  background: transparent url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1.5L6 6.5L11 1.5' stroke='%23171717' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat right center;
  padding: 0 22px 0 0;
  border: 0;
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  max-width: 240px;
  text-align: right;
}
.tz select:focus { outline: none; }

.btn {
  height: 52px;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  font-size: 16px;
  line-height: 20px;
  font-weight: 700;
  text-decoration: none;
}
.btn-primary { background: var(--black); color: var(--white); }
.btn-primary:hover { background: #2a2a2a; }
.btn-primary:disabled { background: var(--line); color: var(--muted); cursor: default; }
.btn-secondary {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn-secondary:hover { background: var(--fog); }

.recap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--fog);
  border-radius: var(--radius);
  padding: 16px;
}
.recap-text { font-size: 14px; line-height: 20px; }
.recap-change {
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  color: var(--magenta);
  text-decoration: none;
  white-space: nowrap;
}
.recap-change:hover { text-decoration: underline; }

.form { display: flex; flex-direction: column; gap: 20px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label { font-size: 13px; line-height: 18px; font-weight: 700; }
.req { color: var(--magenta); }
.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 16px;
  height: 48px;
  background: var(--white);
  font-size: 16px;
  line-height: 24px;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--placeholder); }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
}
.field textarea { height: 120px; padding: 12px 16px; resize: vertical; min-height: 120px; }
.field.is-invalid input,
.field.is-invalid textarea { border-color: #ff1900; }

.guests-toggle {
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  color: var(--magenta);
  text-align: left;
}
.guests-toggle:hover { text-decoration: underline; }
.guests-fields { display: none; }
.guests-fields.is-open { display: block; }
.hint { margin: 0; font-size: 12px; line-height: 16px; color: var(--muted); }

.consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 12px;
  line-height: 18px;
  color: var(--muted);
}
.consent input {
  appearance: none;
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  flex-shrink: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  cursor: pointer;
}
.consent input:checked {
  background: var(--black);
  border-color: var(--black);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='10' viewBox='0 0 12 10' fill='none'><path d='M1 5L4.5 8.5L11 1.5' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
}
.consent a { text-decoration: underline; color: var(--muted); }
.consent a:hover { color: var(--ink); }

.privacy {
  margin: 0;
  font-size: 12px;
  line-height: 18px;
  color: var(--muted);
}
.privacy a { text-decoration: underline; }

.back-step {
  display: block;
  text-align: center;
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}
.back-step:hover { color: var(--magenta); }

.banner {
  display: none;
  padding: 12px 16px;
  border-radius: var(--radius);
  background: #fff3f2;
  color: #9a1200;
  font-size: 14px;
  line-height: 20px;
}
.banner.is-on { display: block; }

.view { display: none; }
.view.is-on { display: flex; flex-direction: column; gap: 32px; }

.confirm-wrap {
  flex: 1;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0 var(--page-pad) 80px;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}
.confirm-wrap.is-on { display: flex; }
.confirm-card {
  width: 720px;
  max-width: 100%;
  background: var(--white);
  border-radius: var(--radius);
  padding: 48px 32px;
  text-align: center;
}
.confirm-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--magenta);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}
.confirm-card h1 { margin: 0 0 12px; }
.confirm-lead {
  margin: 0 0 32px;
  font-size: 16px;
  line-height: 24px;
  color: var(--muted);
}
.confirm-facts {
  text-align: left;
  margin: 0 auto 32px;
  max-width: 400px;
  padding: 0;
  list-style: none;
}
.confirm-facts li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 20px;
}
.confirm-facts li:last-child { border-bottom: 1px solid var(--line); }
.confirm-facts .k { color: var(--muted); }
.confirm-facts .v { font-weight: 700; text-align: right; }
.confirm-note {
  margin: 24px 0 0;
  font-size: 14px;
  line-height: 20px;
  color: var(--muted);
}

.status {
  font-size: 14px;
  line-height: 20px;
  color: var(--muted);
  margin: 0;
}
.hidden { display: none !important; }

@media (max-width: 1279px) {
  :root { --page-pad: 48px; --gap: 48px; --intro-w: 400px; }
  h1 { font-size: 40px; line-height: 44px; letter-spacing: -1.6px; }
  .picker { grid-template-columns: 1fr 220px; gap: 24px; }
}

@media (max-width: 900px) {
  :root { --page-pad: 40px; --intro-w: 100%; }
  .header { padding: 24px var(--page-pad); }
  .main {
    flex-direction: column;
    padding: 0 var(--page-pad) 48px;
    gap: 40px;
  }
  .intro { width: 100%; padding-top: 0; }
  .card { width: 100%; padding: 24px; }
  .picker { grid-template-columns: 1fr; }
  .times-list { max-height: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .confirm-wrap { padding: 0 var(--page-pad) 48px; }
}

@media (max-width: 479px) {
  :root { --page-pad: 24px; }
  .header { padding: 20px var(--page-pad); }
  .logo { display: none; }
  .logo-mobile { display: block; }
  h1 { font-size: 32px; line-height: 38px; letter-spacing: -1.28px; }
  .host img { width: 64px; height: 64px; }
  .step-label-full { display: none; }
  .step-label-short { display: inline; }
  .row { grid-template-columns: 1fr; }
  .times-list { grid-template-columns: 1fr; }
  .card { padding: 20px; gap: 24px; }
  .confirm-card { padding: 32px 20px; }
  .tz { flex-direction: column; align-items: flex-start; }
  .tz select { text-align: left; max-width: 100%; }
}

body.is-embed .header { padding-top: 20px; }
