@import url("/explore.css");
:root {
  color-scheme: light;
  --bg: #f0f4fa;
  --surface: #fff;
  --soft: #f5f8fc;
  --ink: #10263d;
  --muted: #516276;
  --line: #d7e0eb;
  --blue: #145be1;
  --action: #145be1;
  --red: #c91929;
  --rail: #091d37;
  --rail-w: 78px;
  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='170' viewBox='0 0 260 170'%3E%3Cpath d='M0 118h31l4-4 4 10 6-19 5 13h14m105-89h14m-7-7v14' fill='none' stroke='%235d89a9' opacity='.15' stroke-width='1.4'/%3E%3C/svg%3E");
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0c1726;
  --surface: #142337;
  --soft: #1b2b40;
  --ink: #f0f5ff;
  --muted: #b1c2d6;
  --line: #33465b;
  --blue: #82b0ff;
  --action: #1e61e7;
  --red: #ff555c;
  --rail: #071528;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg) var(--pattern);
  min-width: 280px;
}
a {
  color: var(--blue);
  text-underline-offset: 3px;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
svg {
  flex-shrink: 0;
  vertical-align: middle;
}
:focus-visible {
  outline: 3px solid #f28d25;
  outline-offset: 3px;
}
.sr-only,
.skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip:focus {
  position: fixed;
  top: 10px;
  left: 10px;
  padding: 12px 20px;
  background: var(--surface);
  z-index: 100;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  color: var(--ink);
  text-wrap: balance;
}
.button,
.icon-btn,
.account-link,
.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.button,
.icon-btn,
.account-link {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  text-decoration: none;
  border-radius: 9px;
  font-weight: 660;
}
.button {
  padding: 10px 17px;
  min-height: 44px;
  font-size: 0.925rem;
}
.button:hover,
.account-link:hover,
.icon-btn:hover {
  background: var(--soft);
  border-color: var(--muted);
}
.button.primary {
  background: var(--action);
  color: #fff;
  border-color: var(--action);
}
.button.primary:hover {
  background: #104bc5;
  border-color: #104bc5;
}
.icon-btn {
  background: transparent;
  width: 40px;
  height: 40px;
  padding: 0;
}
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.chip {
  padding: 0.15rem 0.65rem;
  border-radius: 5px;
  background: var(--soft);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}
.eyebrow,
.hero-kicker,
.cover-kicker {
  font-weight: 750;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.eyebrow {
  color: var(--muted);
}
.red-line,
.hero-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
}
.red-line:before {
  content: "";
  width: 23px;
  height: 3px;
  background: var(--red);
}
.workspace {
  margin-left: var(--rail-w);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main {
  flex: 1;
  min-width: 0;
}
.container,
.mast-inner,
.foot-inner {
  width: min(calc(100% - 64px), 1320px);
  margin-inline: auto;
}
.rail {
  position: fixed;
  z-index: 10;
  top: 0;
  bottom: 0;
  left: 0;
  width: var(--rail-w);
  background: var(--rail);
  color: #c5d4e7;
  display: flex;
  align-items: center;
  flex-direction: column;
  overflow-y: auto;
  scrollbar-width: thin;
}
.rail-brand {
  display: grid;
  place-items: center;
  min-height: 68px;
  width: 100%;
  border-bottom: 1px solid #ffffff17;
  margin-bottom: 18px;
}
.rail-brand img {
  object-fit: contain;
}
.rail nav {
  display: grid;
  gap: 6px;
  width: 100%;
  padding: 0 5px;
}
.rail nav a {
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 620;
  letter-spacing: 0.005em;
  text-decoration: none;
  min-height: 57px;
  border-radius: 9px;
}
.rail nav a:hover {
  background: #163655;
  color: white;
}
.rail nav a[aria-current] {
  background: #155be3;
  color: #fff;
}
.rail-foot {
  margin-top: auto;
  padding: 26px 0;
  color: #a7c7eb;
}
.masthead {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.mast-inner,
.tools,
.foot-inner {
  display: flex;
  align-items: center;
}
.mast-inner {
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
}
.word-light,
.word-dark {
  display: block;
  object-fit: contain;
}
.word-dark,
[data-theme="dark"] .word-light {
  display: none;
}
[data-theme="dark"] .word-dark {
  display: block;
}
.tools {
  gap: 10px;
}
.preview-label {
  color: var(--muted);
  font-size: 0.79rem;
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  margin-right: 10px;
}
.preview-label span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
}
.account-link {
  font-size: 0.84rem;
  min-height: 40px;
  padding: 7px 12px;
}
.mobile-only {
  display: none;
}
#mobile-menu {
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1rem;
  width: min(92vw, 375px);
  border-radius: 14px;
}
#mobile-menu::backdrop {
  background: #051324ad;
}
.menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
#mobile-menu nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
#mobile-menu nav a {
  color: var(--ink);
  text-decoration: none;
  padding: 12px 7px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.9rem;
  border-radius: 7px;
}
#mobile-menu nav a[aria-current] {
  background: var(--action);
  color: #fff;
}
.home-page {
  padding: 24px 0 55px;
}
.home-intro {
  border: 1px solid var(--line);
  border-bottom: 3px solid var(--action);
  background: var(--surface);
  border-radius: 14px;
  overflow: hidden;
}
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 350px;
  background-color: #0b203c;
  color: #fff;
}
.hero:before,
.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero:before {
  background: url("/assets/hero.webp") center 11% / cover no-repeat;
}
.hero:after {
  background: linear-gradient(
    90deg,
    #081c36 1%,
    #0a203cf5 22%,
    #0a203cb8 40%,
    #0a203c32 65%,
    #0a203c08 100%
  );
}
.hero-copy {
  padding: clamp(32px, 3vw, 50px);
  width: min(54%, 660px);
}
.hero-kicker {
  color: #e1ebfa;
  margin-bottom: 13px;
}
.hero-kicker svg {
  color: #ff545b;
}
.hero h1 {
  font-size: clamp(2.8rem, 3.85vw, 4.1rem);
  letter-spacing: -0.06em;
  line-height: 0.98;
  color: white;
  margin: 0 0 16px;
  font-weight: 760;
}
.hero h1 em {
  font-style: normal;
  color: #ff4248;
}
.hero p {
  max-width: 37ch;
  color: #f4f7fc;
  font-size: 1.05rem;
  line-height: 1.5;
  margin-bottom: 21px;
}
.hero-actions {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}
.button.hero-secondary {
  background: #0d2847b5;
  border-color: #a4b4c4;
  color: #fff;
}
.button.hero-secondary:hover {
  background: #233a56;
}
.home-search {
  padding: 20px clamp(20px, 3vw, 46px) 24px;
}
.home-search h2 {
  font-size: clamp(1.28rem, 2vw, 1.65rem);
  line-height: 1.2;
  letter-spacing: -0.035em;
  margin: 0 0 12px;
}
.search-fields {
  display: grid;
  grid-template-columns: minmax(190px, 1.7fr) 1fr 0.9fr auto;
  gap: 10px;
}
.search-fields label {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
}
.search-fields label svg {
  position: absolute;
  left: 13px;
  color: var(--muted);
  pointer-events: none;
}
.search-fields input,
.search-fields select {
  display: block;
  width: 100%;
  min-width: 0;
  color: var(--ink);
  font-size: 0.9rem;
  background-color: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  height: 45px;
  padding: 0 12px 0 40px;
}
.search-fields input::placeholder {
  color: var(--muted);
  opacity: 1;
}
.search-fields select {
  appearance: none;
  padding-right: 30px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23758291' stroke-width='1.8'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}
.home-rounds,
.quick-paths {
  margin-top: 34px;
}
.section-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.section-line h2 {
  margin: 5px 0 0;
  letter-spacing: -0.043em;
  font-size: clamp(1.65rem, 2.45vw, 2.35rem);
  line-height: 1.13;
}
.section-line h2 span {
  font-weight: 500;
}
.rounds-content {
  display: grid;
  grid-template-columns: minmax(250px, 0.85fr) 1.65fr;
  gap: 18px;
}
.rounds-cover {
  text-decoration: none;
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: 255px;
  border-radius: 12px;
  overflow: hidden;
  background: #0d2542;
  color: white;
}
.rounds-cover img {
  position: absolute;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 24%;
}
.rounds-cover:hover h3 {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.rounds-cover:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, #081b32 0%, #081b32e6 23%, #081b3250 75%);
}
.rounds-cover div:not(.cover-kicker) {
  padding: 22px;
}
.cover-kicker {
  color: #d5e5ff;
  font-size: 0.69rem;
  margin-bottom: 4px;
}
.rounds-cover h3 {
  font-size: clamp(1.4rem, 2.1vw, 1.9rem);
  color: white;
  line-height: 1.15;
  letter-spacing: -0.04em;
  margin: 0 0 8px;
}
.rounds-cover p {
  font-size: 0.91rem;
  line-height: 1.45;
  margin: 0;
  max-width: 38ch;
  color: #eef4fb;
}
.agenda {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 12px;
  padding: 0 20px;
}
.agenda-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.agenda-head span {
  font-size: 0.78rem;
  color: var(--muted);
}
.agenda-row {
  display: flex;
  gap: 14px;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
  padding: 12px 0;
}
.agenda-row + .agenda-row {
  border-top: 1px solid var(--line);
}
.agenda-row:hover strong,
.saved-row a:hover {
  color: var(--blue);
}
.date-stamp {
  background: var(--soft);
  border: 1px solid var(--line);
  min-width: 49px;
  height: 49px;
  border-radius: 7px;
  display: grid;
  place-content: center;
  text-align: center;
  line-height: 1;
}
.date-stamp span {
  font-size: 0.65rem;
  font-weight: 780;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.date-stamp strong {
  font-size: 1.32rem;
  margin-top: 3px;
  font-variant-numeric: tabular-nums;
}
.agenda-info {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 2px;
}
.agenda-info strong {
  font-size: 1rem;
}
.agenda-info span,
.delivery-tag {
  font-size: 0.8rem;
  color: var(--muted);
}
.agenda-info b {
  font-weight: 400;
  padding: 0 2px;
}
.delivery-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--soft);
  border: 1px solid var(--line);
  padding: 3px 8px;
  border-radius: 5px;
  white-space: nowrap;
}
.path-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.path-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px;
  text-decoration: none;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-weight: 700;
}
.path-links a svg {
  color: var(--blue);
}
.path-links a:hover {
  border-color: var(--blue);
}
.text-link {
  font-weight: 650;
  font-size: 0.93rem;
}
.subpage {
  padding: 48px 0 68px;
}
.page-head {
  max-width: 850px;
  margin-bottom: 28px;
}
.page-head h1 {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  letter-spacing: -0.055em;
  margin: 8px 0 12px;
  line-height: 1.06;
}
.page-head p {
  max-width: 65ch;
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 0;
}
.account-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}
.account-group {
  padding: 24px;
}
.account-group h2 {
  font-size: 1.5rem;
}
.account-group p {
  color: var(--muted);
}
.saved-row {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.saved-row a {
  font-weight: 650;
}
.save-button[aria-pressed="true"] {
  color: var(--blue);
  background: var(--soft);
}
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.foot-inner {
  flex-wrap: wrap;
  gap: 16px;
  padding: 20px 0;
  font-size: 0.82rem;
  color: var(--muted);
}
.foot-inner img {
  width: 116px;
  height: auto;
}
.foot-inner span {
  margin-right: auto;
}
.foot-inner a {
  color: var(--muted);
}
@media (min-width: 1600px) {
  .hero {
    min-height: 420px;
  }
}
@media (max-width: 1050px) {
  .container,
  .mast-inner,
  .foot-inner {
    width: calc(100% - 40px);
  }
  .hero-copy {
    width: 63%;
  }
  .search-fields {
    grid-template-columns: 1.3fr 1fr 1fr auto;
  }
  .rounds-content {
    grid-template-columns: 0.8fr 1.4fr;
  }
  .delivery-tag {
    display: none;
  }
}
@media (max-width: 800px) {
  .rail {
    display: none;
  }
  .workspace {
    margin: 0;
  }
  .mobile-only {
    display: inline-flex;
  }
  .mast-inner {
    height: 60px;
  }
  .brand img {
    width: 145px;
    height: auto;
  }
  .home-page {
    padding-top: 16px;
  }
  .preview-label {
    margin: 0;
  }
  .hero-copy {
    width: 66%;
  }
  .search-fields {
    grid-template-columns: minmax(190px, 1.5fr) 1fr 1fr;
  }
  .search-fields .button {
    grid-column: 1/-1;
  }
  .rounds-content {
    gap: 12px;
  }
  .agenda {
    padding: 0 14px;
  }
}
@media (max-width: 600px) {
  .container,
  .mast-inner,
  .foot-inner {
    width: calc(100% - 28px);
  }
  .home-page {
    padding-top: 12px;
  }
  .tools {
    gap: 6px;
  }
  .tools .account-link {
    width: 40px;
    padding: 0;
  }
  .account-link span,
  .preview-label {
    display: none;
  }
  .hero {
    min-height: 390px;
    align-items: flex-end;
  }
  .hero-copy {
    width: 100%;
    padding: 95px 20px 22px;
  }
  .hero:before {
    background-position: 66% 30%;
  }
  .hero:after {
    background:
      linear-gradient(
        0deg,
        #0b203cfb 2%,
        #0b203ce8 30%,
        #0b203c88 63%,
        #0b203c15 92%
      ),
      linear-gradient(90deg, #0b203c80, transparent 80%);
  }
  .hero h1 {
    font-size: clamp(2.6rem, 9.4vw, 3.4rem);
  }
  .hero-kicker {
    margin-bottom: 8px;
    font-size: 0.68rem;
  }
  .hero p {
    font-size: 0.94rem;
    margin-bottom: 15px;
    max-width: 34ch;
  }
  .hero-actions .button {
    padding: 9px 11px;
    font-size: 0.85rem;
  }
  .home-search {
    padding: 17px;
  }
  .search-fields {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .search-box {
    grid-column: 1/-1;
  }
  .home-rounds,
  .quick-paths {
    margin-top: 27px;
  }
  .section-line {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px;
  }
  .home-rounds .section-line h2 {
    font-size: 1.65rem;
  }
  .calendar-link {
    font-size: 0.83rem;
    min-height: 37px;
    padding: 7px 10px;
  }
  .rounds-content {
    grid-template-columns: 1fr;
  }
  .rounds-cover {
    order: 1;
    min-height: 180px;
  }
  .agenda-info span {
    font-size: 0.76rem;
  }
  .agenda-row {
    gap: 10px;
  }
  .agenda-info strong {
    font-size: 0.96rem;
  }
  .path-links,
  .account-grid {
    grid-template-columns: 1fr 1fr;
  }
  .account-grid {
    grid-template-columns: 1fr;
  }
  .subpage {
    padding: 26px 0 44px;
  }
  .foot-inner {
    gap: 12px;
  }
  .foot-inner span {
    margin: 0;
  }
  .foot-inner a:nth-last-child(2) {
    margin-left: 0;
  }
  .site-footer .foot-inner {
    justify-content: space-between;
  }
}
@media (max-width: 375px) {
  .hero-actions {
    gap: 7px;
  }
  .hero-actions .button {
    font-size: 0.8rem;
    padding: 8px;
  }
  .brand img {
    width: 130px;
  }
  .agenda-info span {
    line-height: 1.35;
  }
  .path-links a {
    padding: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
