:root {
  --navy: #002554;
  --blue: #175bdf;
  --ink: #12253f;
  --muted: #617087;
  --line: #dce3ed;
  --bg: #f4f7fb;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font:
    16px/1.5 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  border: 1px solid var(--line);
  background: white;
  border-radius: 10px;
  padding: 11px 17px;
  color: var(--ink);
  font-weight: 600;
}
button:hover {
  border-color: var(--blue);
  color: var(--blue);
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
a {
  color: var(--blue);
}
header {
  height: 88px;
  background: white;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 0 6vw;
}
.brand {
  font-size: 24px;
  font-weight: 800;
  color: var(--navy);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 9px;
  letter-spacing: -1px;
}
.light {
  font-weight: 400;
  margin-left: -9px;
}
.mark {
  display: grid;
  place-items: center;
  background: var(--navy);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font: italic bold 30px Georgia;
}
.demo {
  font-size: 12px;
  letter-spacing: 1.5px;
  color: var(--muted);
  margin-left: auto;
}
#profileBadge {
  border-radius: 50%;
  background: #e9effb;
  color: var(--navy);
  width: 44px;
  height: 44px;
  padding: 0;
}
main {
  max-width: 1200px;
  margin: auto;
  padding: 44px 32px 125px;
}
h1 {
  font-size: 38px;
  line-height: 1.15;
  letter-spacing: -1.3px;
  margin: 10px 0 16px;
}
h2 {
  font-size: 23px;
  letter-spacing: -0.5px;
  margin: 0 0 20px;
}
h3 {
  font-size: 19px;
  margin: 8px 0;
}
p {
  color: var(--muted);
  margin: 8px 0 24px;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: 750;
  color: var(--blue);
}
.setup {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  background: white;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  min-height: 660px;
}
.intro {
  background: var(--navy);
  color: white;
  padding: 54px 42px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.intro h1 {
  font-size: 49px;
  max-width: 340px;
}
.intro p {
  color: #b9cee8;
  max-width: 320px;
}
.intro .eyebrow {
  color: #a6c6ff;
}
.introFoot {
  border-top: 1px solid #37516e;
  padding-top: 25px;
  font-size: 14px;
  color: #c5d6ed;
}
.formside {
  padding: 38px 44px;
}
.steps {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
}
.steps span {
  height: 4px;
  width: 40px;
  background: #dce4f0;
  border-radius: 9px;
}
.steps .on {
  background: var(--blue);
}
label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
}
input,
select,
textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #cdd7e5;
  border-radius: 8px;
  background: white;
  color: var(--ink);
  margin-top: 6px;
}
textarea {
  resize: vertical;
  min-height: 80px;
}
.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.primary {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
}
.primary:hover {
  background: #1048b2;
  color: white;
}
.wide {
  width: 100%;
}
.subtle {
  font-size: 13px;
  color: var(--muted);
}
.upload {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 18px 0;
}
.avatar {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: #e8effb;
  display: grid;
  place-items: center;
  color: var(--blue);
  font-size: 24px;
  object-fit: cover;
}
.upload input {
  font-size: 13px;
  max-width: 260px;
}
.choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 28px 0;
}
.choice {
  text-align: left;
  padding: 15px;
}
.choice.selected {
  border-color: var(--blue);
  background: #edf3ff;
  color: var(--blue);
}
.topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.welcome {
  margin-bottom: 30px;
}
.banner {
  background: var(--navy);
  color: white;
  padding: 30px 34px;
  border-radius: 16px;
  margin-bottom: 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.banner p {
  color: #bad0ed;
  margin-bottom: 0;
}
.banner h2 {
  margin: 6px 0;
}
.tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--blue);
  background: #edf3ff;
  border-radius: 5px;
  padding: 5px 9px;
  display: inline-block;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  text-align: left;
  padding: 0;
  display: block;
  width: 100%;
}
.cardTop {
  height: 110px;
  background: #e0eafd;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card:nth-child(2) .cardTop {
  background: #d9eee8;
}
.card:nth-child(3) .cardTop {
  background: #f2e7d7;
}
.date {
  background: white;
  border-radius: 9px;
  text-align: center;
  padding: 7px 13px;
  font-size: 12px;
  color: var(--blue);
}
.date strong {
  display: block;
  font-size: 25px;
  line-height: 1.2;
  color: var(--navy);
}
.eventIcon {
  font-size: 35px;
  font-weight: 300;
  color: var(--navy);
}
.cardBody {
  padding: 20px;
}
.cardBody p {
  font-size: 14px;
  margin: 6px 0;
}
.cardFoot {
  border-top: 1px solid var(--line);
  margin-top: 18px;
  padding-top: 13px;
  font-size: 13px;
  color: var(--muted);
}
nav {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  border: 1px solid var(--line);
  border-radius: 17px;
  padding: 7px;
  display: flex;
  box-shadow: 0 8px 35px #00255416;
  z-index: 5;
}
nav:empty {
  display: none;
}
nav button {
  border: 0;
  min-width: 100px;
  background: none;
  color: var(--muted);
  font-size: 13px;
  padding: 7px 14px;
}
nav button span {
  display: block;
  font-size: 23px;
  line-height: 1.3;
}
nav button.active {
  background: #eaf1ff;
  color: var(--blue);
}
.panel {
  background: white;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 15px;
  margin-bottom: 24px;
}
.filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 20px 0;
}
.filters select {
  width: auto;
  max-width: 100%;
  margin: 0;
}
.calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
  margin-top: 22px;
}
.day {
  min-height: 105px;
  padding: 9px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  font-size: 14px;
}
.day.head {
  min-height: 35px;
  text-align: center;
  background: var(--bg);
  font-size: 12px;
}
.day.today {
  background: #edf3ff;
}
.calEvent {
  display: block;
  width: 100%;
  font-size: 12px;
  padding: 4px;
  text-align: left;
  background: #e6efff;
  border: 0;
  margin-top: 5px;
  overflow: hidden;
}
.empty {
  padding: 45px;
  text-align: center;
  color: var(--muted);
}
.searchBox {
  font-size: 20px;
  padding: 18px;
  margin: 0 0 24px;
}
.settings {
  max-width: 720px;
}
.setting {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  gap: 20px;
}
.setting select {
  width: 160px;
}
.setting input {
  width: 20px;
}
dialog {
  border: 0;
  border-radius: 20px;
  padding: 30px;
  max-width: 540px;
  width: calc(100% - 32px);
  box-shadow: 0 24px 80px #001b5540;
}
dialog::backdrop {
  background: #001d4c80;
}
dialog .actions {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}
.close {
  float: right;
}
.friends {
  display: flex;
  gap: 8px;
  align-items: center;
  background: var(--bg);
  padding: 14px;
  border-radius: 10px;
  font-size: 14px;
}
.friends b {
  border-radius: 50%;
  background: #d9e6ff;
  padding: 8px;
}
#toast {
  position: fixed;
  bottom: 110px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: white;
  border-radius: 10px;
  padding: 12px 20px;
  z-index: 20;
  display: none;
  max-width: 90vw;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #f5b84b;
  outline-offset: 3px;
}
@media (max-width: 760px) {
  header {
    height: 70px;
    padding: 0 20px;
  }
  .brand {
    font-size: 21px;
  }
  .demo {
    display: none;
  }
  #profileBadge {
    margin-left: auto;
  }
  main {
    padding: 24px 18px 115px;
  }
  .setup {
    display: block;
  }
  .intro {
    padding: 28px;
  }
  .intro h1 {
    font-size: 34px;
    max-width: none;
  }
  .introFoot {
    display: none;
  }
  .intro p {
    margin: 10px 0;
  }
  .formside {
    padding: 26px;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .banner {
    padding: 24px;
    display: block;
  }
  .banner button {
    margin-top: 18px;
  }
  h1 {
    font-size: 30px;
  }
  .topline {
    align-items: flex-start;
  }
  nav {
    bottom: 0;
    border-radius: 15px 15px 0 0;
    width: 100%;
    padding-bottom: max(8px, env(safe-area-inset-bottom));
    justify-content: space-around;
  }
  nav button {
    min-width: 0;
    padding: 8px 10px;
    flex: 1;
  }
  .day {
    min-height: 75px;
    padding: 3px;
  }
  .calEvent {
    font-size: 10px;
    line-height: 1.2;
  }
  .panel {
    padding: 16px;
  }
  .row {
    gap: 12px;
  }
  .choices {
    gap: 8px;
  }
  .choice {
    padding: 12px;
    font-size: 14px;
  }
}
