@font-face {
  font-family: "DM Sans";
  src: url("/fonts/dm-sans.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  font-family: "DM Sans", system-ui, sans-serif;
  --paper: #f7f3ee;
  --surface: #fffdfa;
  --ink: #080c35;
  --muted: #4b4e67;
  --cobalt: #1325e7;
  --cobalt-dark: #0917b9;
  --line: #dad7dc;
  --tint: #edf0ff;
  --radius: 12px;
  background: var(--paper);
  color: var(--ink);
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: .2em; }
:focus-visible { outline: 3px solid #5666ef; outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(2.4rem, 4.6vw, 4rem); line-height: 1.02; letter-spacing: -.065em; font-weight: 880; }
h2 { font-size: clamp(1.25rem, 2vw, 1.8rem); letter-spacing: -.041em; line-height: 1.12; }
h3 { font-size: 1.1rem; letter-spacing: -.025em; }
[id] { scroll-margin-block: 18px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  width: fit-content;
  padding: .65rem 1.05rem;
  border: 0;
  border-radius: 8px;
  background: var(--cobalt);
  color: white;
  font: inherit;
  font-weight: 760;
  text-decoration: none;
  cursor: pointer;
}
.button:hover { background: var(--cobalt-dark); }
.text-action { color: var(--cobalt-dark); font-weight: 760; }
.helper { color: var(--muted); font-size: .92rem; line-height: 1.5; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -.06em;
  text-decoration: none;
  white-space: nowrap;
}
.brand span { width: 13px; height: 20px; margin-left: 4px; transform: skewX(-19deg); background: var(--cobalt); }

.entry-header, .entry { width: min(1220px, calc(100% - clamp(36px, 9vw, 120px))); margin-inline: auto; }
.entry-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 74px;
  gap: 16px;
  border-bottom: 1px solid var(--line);
}
.entry {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(28px, 6vw, 105px);
  min-height: calc(100svh - 74px);
  padding-block: clamp(34px, 5vw, 80px);
}
.entry-content { max-width: 465px; }
.entry h1 { font-size: clamp(2.5rem, 5.1vw, 4.5rem); }
.entry-content > p, .entry-content > a { margin-top: 16px; }
.entry-content > a { display: inline-flex; }
.entry-content > p { max-width: 37ch; line-height: 1.5; }
.entry-content form { display: grid; gap: 10px; max-width: 390px; margin-top: 25px; }
.entry-content label { font-size: .94rem; font-weight: 760; }
.entry-content input, select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #9295ab;
  border-radius: 8px;
  background: white;
  color: var(--ink);
  font: inherit;
}
.entry-content form .button { margin-top: 6px; }
.entry-content .entry-demo {
  margin-top: 24px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .81rem;
}
.entry-summary {
  max-width: 560px;
  overflow: hidden;
  border: 1px solid #b9c1ef;
  border-radius: var(--radius);
  background: var(--tint);
}
.entry-summary img { display: block; width: 100%; height: auto; aspect-ratio: 1.9; object-fit: cover; object-position: center; }
.entry-summary > div { padding: clamp(18px, 3.5vw, 38px); }
.entry-summary h2 { font-size: clamp(1.12rem, 2vw, 1.55rem); }
.entry-summary p { margin-top: 8px; color: var(--muted); }
.entry-summary strong { color: var(--ink); font-size: clamp(2.3rem, 4.8vw, 4rem); line-height: 1; letter-spacing: -.065em; }

.checkout-summary {
  max-width: 420px;
  margin: 24px 0 0;
  padding: 4px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.checkout-summary > div {
  display: grid;
  grid-template-columns: minmax(75px, .8fr) minmax(0, 1.2fr);
  gap: 10px;
  padding-block: 10px;
}
.checkout-summary dt { color: var(--muted); }
.checkout-summary dd { margin: 0; color: var(--ink); text-align: right; font-weight: 720; }
.checkout-summary .checkout-total { border-top: 1px solid var(--line); padding-block: 13px; }
.checkout-total dt { color: var(--ink); font-weight: 760; }
.checkout-total dd { color: var(--cobalt-dark); }

.workspace { display: grid; grid-template-columns: clamp(176px, 17vw, 228px) minmax(0, 1fr); min-height: 100svh; }
.rail {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  padding: 26px clamp(14px, 1.8vw, 24px);
  border-right: 1px solid var(--line);
  background: var(--surface);
}
.rail nav { display: grid; width: 100%; gap: 4px; }
.rail nav a {
  min-height: 42px;
  padding: 10px 12px;
  color: var(--muted);
  font-weight: 680;
  text-decoration: none;
  border-radius: 8px;
}
.rail nav a:hover, .workspace:has(#overview:target) .rail nav a[href="#overview"],
.workspace:has(#orders:target) .rail nav a[href="#orders"], .workspace:has(#setup:target) .rail nav a[href="#setup"],
.workspace:not(:has(:target)) .rail nav a[href="#overview"] { color: var(--cobalt-dark); background: var(--tint); }
.rail-bottom { display: grid; gap: 14px; justify-items: start; margin-top: auto; font-size: .91rem; }
.signout {
  min-height: 36px;
  padding: 5px 10px;
  border: 1px solid #9295ab;
  border-radius: 7px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}
.signout:hover { background: var(--tint); }
.content { width: min(100%, 1220px); margin-inline: auto; padding: 24px clamp(20px, 4vw, 60px) 55px; }
.account {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin-bottom: clamp(24px, 3vw, 39px);
  padding: 4px 0 14px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: .91rem;
  overflow-wrap: anywhere;
}
.account span:first-child { color: var(--ink); font-weight: 740; }
.overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(200px, .85fr);
  gap: clamp(12px, 2vw, 24px);
  margin-top: 22px;
}
.card {
  padding: clamp(18px, 2.55vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.card p { margin-top: 9px; line-height: 1.5; }
.trial-card { position: relative; isolation: isolate; overflow: hidden; border-color: #bbc2ef; background: #ebeeff; }
.trial-copy { position: relative; z-index: 1; }
.trial-art {
  position: absolute;
  z-index: -1;
  right: -4%;
  bottom: -9%;
  width: min(50%, 320px);
  height: auto;
  mix-blend-mode: multiply;
  mask-image: linear-gradient(to right, transparent, #000 20%, #000 92%, transparent),
    linear-gradient(to bottom, transparent, #000 18%, #000 91%, transparent);
  mask-composite: intersect;
  pointer-events: none;
}
.offer-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 9px; margin-top: 16px; }
.offer-price strong { font-size: clamp(2.35rem, 4vw, 3.6rem); line-height: 1; font-weight: 880; letter-spacing: -.07em; }
.offer-price span { color: var(--muted); font-size: .87rem; }
.trial-form { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; margin-top: 18px; }
.trial-card .trial-form { display: grid; justify-items: start; max-width: min(70%, 285px); }
.location-picker { min-width: 0; flex: 0 1 190px; }
.trial-card .location-picker { width: 100%; }
.location-picker label { display: block; margin-bottom: 6px; font-size: .89rem; font-weight: 740; }
.trial-copy .text-action, .detail-card > .text-action { display: inline-flex; gap: 6px; margin-top: 15px; }
.progress-list {
  display: grid;
  gap: 11px;
  margin: 17px 0 0;
  padding: 0;
  list-style: none;
}
.progress-list li { display: grid; grid-template-columns: 30px 1fr; align-items: start; gap: 10px; color: var(--muted); font-size: .91rem; }
.progress-list li > span:last-child { align-self: center; }
.progress-list li[aria-current="step"] { color: var(--ink); font-weight: 790; }
.progress-list small { display: block; margin-top: 2px; color: var(--muted); font-size: .79rem; font-weight: 550; }
.step-mark { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid #cbc9d4; border-radius: 7px; font-weight: 770; }
[aria-current="step"] .step-mark { color: white; background: var(--cobalt); border-color: var(--cobalt); }
.detail-card { margin-top: clamp(12px, 2vw, 24px); }
.detail-card > p { max-width: 63ch; }
.empty-orders { margin-top: 14px; padding: 10px 16px 17px; border: 1px dashed #bcbcc8; border-radius: 8px; }
.empty-orders > p:first-child { font-weight: 750; }
.table-wrap { overflow-x: auto; }
table { width: 100%; margin-top: 13px; border-collapse: collapse; text-align: left; font-size: .92rem; }
td, th { padding: 11px 9px 11px 0; border-bottom: 1px solid var(--line); }
td:last-child, th:last-child { padding-right: 0; text-align: right; }
th, td small { color: var(--muted); }
.order-pill { display: inline-block; padding: 4px 8px; border: 1px solid #d2d7f4; border-radius: 6px; background: var(--tint); color: #283477; font-size: .81rem; font-weight: 730; }
.session-options { margin-top: 23px; padding-top: 21px; border-top: 1px solid var(--line); }
.session-form:has(#session-mode option[value="rotating"]:checked) .sticky-interval { display: none; }
.session-help { margin-top: 17px; color: var(--muted); }
.session-help summary { width: fit-content; cursor: pointer; font-size: .94rem; font-weight: 720; }
.session-help p { max-width: 62ch; font-size: .9rem; }
.notice { margin-top: 15px; padding: 12px; border-left: 3px solid var(--cobalt); background: var(--tint); font-size: .94rem; }
.skip { position: fixed; left: 12px; top: 12px; z-index: 3; padding: 8px; transform: translateY(-150%); background: var(--ink); color: white; }
.skip:focus { transform: none; }

@media (max-width: 900px) {
  .overview-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .entry { grid-template-columns: 1fr; align-items: start; min-height: auto; }
  .entry-summary img { aspect-ratio: 2.4; }
  .workspace { display: block; }
  .rail { position: static; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 19px 9px; border-right: 0; border-bottom: 1px solid var(--line); }
  .rail nav { display: flex; flex-wrap: wrap; order: 3; }
  .rail-bottom { margin-top: 0; }
  .rail-bottom > a { display: none; }
  .content { padding-top: 17px; }
}

@media (max-width: 440px) {
  .entry-header { font-size: .85rem; }
  .entry-header .brand, .rail .brand { font-size: 1.38rem; }
  .trial-card .trial-form { max-width: 100%; }
  .trial-art { display: none; }
  .session-form { align-items: start; flex-direction: column; }
  .session-form .location-picker { flex: auto; width: 100%; }
}
