@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap");
:root {
  font-family: "DM Sans", sans-serif;
  color: #172e50;
  background: #fff;
  font-synthesis: none;
  --navy: #172e50;
  --blue: #eaf4fd;
  --red: #902f3e;
  --muted: #627188;
  --border: #dce4ed;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #559bd4;
  outline-offset: 3px;
}
header {
  height: 100px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 6vw;
}
.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--navy);
  font:
    800 25px Manrope,
    sans-serif;
  letter-spacing: -1px;
}
.ya {
  color: #417ca9;
}
.mark {
  position: relative;
  background: var(--navy);
  color: white;
  border-radius: 12px;
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  margin-right: 12px;
  font-size: 28px;
}
.mark span {
  font-size: 16px;
  position: absolute;
  right: -5px;
  bottom: -4px;
  border: 3px solid white;
  border-radius: 50%;
  background: #bfe1fa;
  color: var(--navy);
  width: 22px;
  height: 22px;
  line-height: 16px;
}
.byline {
  font-size: 14px;
  color: var(--muted);
  margin-left: auto;
}
main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 65px 28px 80px;
  min-height: calc(100vh - 180px);
}
h1,
h2,
h3 {
  font-family: Manrope, sans-serif;
  margin: 0;
  letter-spacing: -0.04em;
}
h1 {
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.12;
  font-weight: 800;
}
h2 {
  font-size: 27px;
}
h3 {
  font-size: 19px;
}
p {
  line-height: 1.65;
  color: var(--muted);
}
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.intro {
  max-width: 680px;
  margin-bottom: 42px;
}
.intro p {
  font-size: 18px;
  max-width: 530px;
  margin-bottom: 0;
}
.intro h1 em {
  font-style: normal;
  color: #397ba8;
}
.paths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.path {
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.path.blue {
  background: var(--blue);
  border-color: #d9eaf7;
}
.path .num {
  position: absolute;
  right: 28px;
  top: 28px;
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--muted);
}
.icon {
  width: 48px;
  height: 48px;
  border: 1px solid #cddde9;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 38px;
  color: var(--navy);
}
.icon svg {
  width: 25px;
  height: 25px;
}
.path p {
  margin: 13px 0 26px;
  max-width: 320px;
}
.path button {
  margin-top: auto;
  align-self: flex-start;
  min-width: 180px;
}
.button,
button.primary {
  background: var(--navy);
  color: #fff;
  border: 1px solid var(--navy);
  border-radius: 9px;
  padding: 13px 21px;
  font-weight: 600;
}
.button.secondary,
button.secondary {
  background: white;
  color: var(--navy);
  border: 1px solid #b9c9da;
  border-radius: 9px;
  padding: 13px 21px;
  font-weight: 600;
}
.quiet {
  background: none;
  border: 0;
  color: var(--navy);
  padding: 9px;
  font-size: 14px;
}
.red {
  color: var(--red);
}
.under {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
  font-size: 14px;
  color: var(--muted);
}
.under span:first-child {
  color: var(--red);
  font-size: 18px;
}
footer {
  max-width: calc(100% - 12vw);
  margin: auto;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  font-size: 13px;
  color: var(--muted);
}
.back {
  padding: 0;
  margin-bottom: 26px;
}
.panel {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  background: #fff;
}
.form-page {
  max-width: 760px;
  margin: auto;
}
.form-page h1 {
  font-size: 38px;
}
.form-page > p {
  margin-bottom: 30px;
}
label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 18px;
}
input,
textarea,
select {
  display: block;
  width: 100%;
  border: 1px solid #becbd9;
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
  padding: 12px;
  margin-top: 8px;
  min-width: 0;
}
textarea {
  resize: vertical;
  min-height: 88px;
}
.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.hint {
  font-size: 13px;
  color: var(--muted);
  font-weight: 400;
  line-height: 1.5;
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.date-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.date-chip {
  border: 1px solid #b7d4ec;
  background: var(--blue);
  border-radius: 20px;
  padding: 8px 12px;
  color: var(--navy);
  font-size: 14px;
}
.code {
  font-family: monospace;
  font-size: 24px;
  letter-spacing: 4px;
}
.session-head {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 28px;
  align-items: flex-start;
}
.session-head h1 {
  font-size: 34px;
}
.pill {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 5px;
  background: var(--blue);
  font-size: 13px;
  margin-bottom: 12px;
}
.workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 24px;
}
.tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}
.tabs button {
  padding: 13px 18px;
  background: none;
  border: 0;
  border-bottom: 3px solid transparent;
  color: var(--muted);
  font-weight: 600;
}
.tabs button.active {
  color: var(--navy);
  border-color: var(--navy);
}
.grid-scroll {
  overflow: auto;
  max-height: 600px;
  margin: 20px 0;
  border: 1px solid var(--border);
  border-radius: 10px;
}
.availability {
  border-collapse: separate;
  border-spacing: 4px;
  width: 100%;
  min-width: 480px;
  padding: 8px;
}
.availability th {
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  min-width: 64px;
  background: white;
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 8px 3px;
}
.availability th b {
  display: block;
  font-size: 16px;
  margin-top: 4px;
}
.availability td {
  padding: 0;
}
.availability .time {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  padding-right: 8px;
  width: 62px;
}
.cell {
  border: 1px solid #dee8f1;
  border-radius: 4px;
  background: #f4f7fa;
  min-height: 35px;
  width: 100%;
  color: var(--navy);
  font-size: 12px;
  touch-action: pan-y;
}
.cell.selected {
  background: #244c77;
  border-color: #244c77;
  color: #fff;
}
.cell:hover {
  outline: 2px solid #5395c7;
  outline-offset: -2px;
}
.grid-note {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
}
.side .panel {
  margin-bottom: 18px;
  padding: 22px;
}
.side h3 {
  margin-bottom: 15px;
}
.person {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  padding: 10px 0;
  border-bottom: 1px solid #edf1f5;
}
.avatar {
  display: grid;
  place-items: center;
  min-width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--blue);
  font-size: 12px;
  font-weight: 700;
}
.person .quiet {
  margin-left: auto;
  color: var(--red);
}
.small {
  font-size: 14px;
}
.best {
  background: var(--blue) !important;
}
.best p {
  margin: 8px 0;
}
.inline-check {
  display: flex;
  align-items: center;
  gap: 12px;
}
.inline-check input {
  width: 18px;
  height: 18px;
  margin: 0;
}
.danger {
  color: var(--red);
}
#notice {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: white;
  padding: 14px 22px;
  border-radius: 10px;
  z-index: 10;
  max-width: 90%;
  box-shadow: 0 4px 20px #172e5033;
  display: none;
}
#notice.error {
  background: var(--red);
}
.secret {
  overflow-wrap: anywhere;
  background: #f7f9fc;
  padding: 14px;
  border-radius: 8px;
  font-family: monospace;
  font-size: 14px;
  user-select: all;
}
.empty {
  padding: 18px 0;
  color: var(--muted);
  font-size: 14px;
}
.topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.saved {
  color: #376b89;
  font-size: 14px;
}
.stack {
  display: grid;
  gap: 18px;
}
.error-text {
  color: var(--red);
  font-size: 14px;
}
.mobile-only {
  display: none;
}
@media (max-width: 760px) {
  header {
    height: 78px;
    padding: 0 22px;
    gap: 12px;
  }
  .brand {
    font-size: 21px;
  }
  .byline {
    display: none;
  }
  header > .quiet {
    margin-left: auto;
  }
  main {
    padding: 38px 20px 55px;
  }
  .paths,
  .workspace {
    grid-template-columns: 1fr;
  }
  .path {
    padding: 27px;
  }
  .icon {
    margin-bottom: 24px;
  }
  .intro {
    margin-bottom: 30px;
  }
  .fields {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .session-head {
    flex-direction: column;
  }
  .session-head h1 {
    font-size: 29px;
  }
  .panel {
    padding: 20px;
  }
  .grid-scroll {
    margin-left: -8px;
    margin-right: -8px;
  }
  .tabs button {
    padding: 12px;
    font-size: 14px;
  }
  footer {
    max-width: calc(100% - 40px);
    flex-direction: column;
    gap: 8px;
  }
  .path button {
    width: 100%;
  }
  .session-head .actions {
    width: 100%;
  }
  .side {
    display: grid;
    grid-template-columns: 1fr;
  }
  .availability {
    min-width: 450px;
  }
}
@media (min-width: 761px) {
  header {
    height: 84px;
  }
  main {
    padding-top: 38px;
  }
  .intro {
    margin-bottom: 28px;
  }
  .intro h1 {
    font-size: 50px;
  }
  .intro .eyebrow {
    margin-bottom: 14px;
  }
  .intro p {
    margin-top: 16px;
  }
  .path {
    padding: 28px;
  }
  .path .icon {
    margin-bottom: 24px;
  }
  .path p {
    margin: 10px 0 20px;
  }
  .under {
    margin-top: 22px;
  }
}
.workspace > * {
  min-width: 0;
}
.availability tbody th {
  position: static;
}
@media (max-width: 760px) {
  .workspace {
    grid-template-columns: minmax(0, 1fr);
  }
  .tabs button {
    flex: 1;
    padding: 12px 6px;
  }
}
[hidden] {
  display: none !important;
}
fieldset {
  min-width: 0;
  margin: 0 0 24px;
  padding: 0;
  border: 0;
}
legend {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
}
.calendar-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 12px 0 20px;
}
.calendar-toolbar button {
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 44px;
  height: 44px;
  font-size: 26px;
  padding: 0;
}
.calendar-week,
.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}
.calendar-week {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 10px;
}
.calendar-day {
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 9px;
  color: var(--navy);
  background: #f4f7fb;
}
.calendar-day:hover {
  background: #dceffc;
}
.calendar-day.today {
  border-color: #5798c7;
}
.calendar-day.chosen {
  background: var(--navy);
  color: white;
  font-weight: 700;
}
.timezone-banner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px;
  background: var(--blue);
  border-radius: 10px;
  margin-bottom: 24px;
  font-size: 14px;
}
.time-picker {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
}
.time-picker legend {
  padding: 0 6px;
}
.time-value {
  display: block;
  font:
    700 22px Manrope,
    sans-serif;
  margin-bottom: 22px;
  min-height: 54px;
}
.slider-field {
  margin: 18px 0;
}
.slider-field label {
  display: flex;
  justify-content: space-between;
  margin: 0;
}
.slider-field label output {
  color: #326a95;
  font-variant-numeric: tabular-nums;
}
.slider-field input[type="range"] {
  appearance: none;
  -webkit-appearance: none;
  height: 10px;
  margin: 20px 0 14px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #d5e7f6;
  cursor: pointer;
  accent-color: var(--navy);
}
.slider-field input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 3px solid white;
  background: var(--navy);
  box-shadow: 0 0 0 1px #9db5ca;
}
.slider-field input[type="range"]::-moz-range-thumb {
  width: 23px;
  height: 23px;
  border-radius: 50%;
  border: 3px solid white;
  background: var(--navy);
  box-shadow: 0 0 0 1px #9db5ca;
}
.range-ends {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
}
.period {
  max-width: 160px;
}
.slot-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 8px 0 18px;
}
.slot-options label {
  margin: 0;
  position: relative;
}
.slot-options input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.slot-options span {
  display: block;
  padding: 11px 15px;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
}
.slot-options input:checked + span {
  background: var(--navy);
  border-color: var(--navy);
  color: white;
}
.slot-options input:focus-visible + span {
  outline: 3px solid #559bd4;
  outline-offset: 3px;
}
.session-preview {
  margin: 24px 0;
}
.preview-slot {
  display: block;
  min-height: 38px;
  border-radius: 5px;
  background: #eaf2fa;
  border: 1px solid #d8e6f2;
}
.share-dialog {
  width: min(850px, calc(100% - 32px));
  max-height: 90vh;
  overflow: auto;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 18px;
  color: var(--navy);
}
.share-dialog::backdrop {
  background: #172e5077;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 760px) {
  .time-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .time-picker {
    padding: 12px;
  }
  .time-value {
    font-size: 18px;
  }
  .calendar-days,
  .calendar-week {
    gap: 4px;
  }
  .calendar-day {
    min-height: 40px;
  }
  .share-dialog {
    padding: 18px;
  }
}
.creation-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  gap: 8px;
}
.creation-steps li {
  font-size: 14px;
  color: var(--muted);
  padding: 12px 4px;
  border-bottom: 3px solid var(--border);
}
.creation-steps li[aria-current="step"] {
  color: var(--navy);
  border-color: var(--navy);
  font-weight: 700;
}
.creation-steps li.complete {
  color: #397ba8;
  border-color: #b9ddf6;
}
.wizard-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--border);
  padding-top: 22px;
  margin-top: 22px;
}
.wizard-actions .primary {
  margin-left: auto;
}
#wizard-title:focus {
  outline: none;
}
@media (max-width: 480px) {
  .creation-steps {
    gap: 4px;
  }
  .creation-steps li {
    font-size: 13px;
  }
}
.date-time-calendar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 26px;
}
.date-time-card {
  background: #f4f8fc;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 10px;
  text-align: left;
  color: var(--navy);
  display: grid;
  gap: 8px;
}
.date-time-card span {
  font-size: 13px;
}
.date-time-card strong {
  font-size: 19px;
}
.date-time-card.active {
  border: 2px solid var(--navy);
  background: var(--blue);
  padding: 13px 9px;
}
.date-time-heading {
  font-size: 23px;
  margin-bottom: 20px;
}
.outside-slot {
  text-align: center;
  color: #8a97a6;
  font-size: 13px;
}
.date-time-summary p {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
@media (max-width: 600px) {
  .date-time-calendar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .date-time-summary p {
    flex-direction: column;
    gap: 4px;
  }
}
