/* trimslot.com: the comps' layout as classes. Tokens and the site's own classes (.cta, .gut,
   .hl, .caps, .navlink, .wm) come from brand/trimslot-site.css; the kit's from brand/bundle.css.
   One breakpoint, 639px, as the design system, plus the hero's own at 1199px. Nothing here animates. */

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

.desk {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 48px 64px;
  display: flex;
  flex-direction: column;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3,
.display {
  font-family: var(--font-display);
  font-weight: 400;
}

/* header and footer */
.site-header {
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
}
.site-header .wm {
  height: 30px;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.site-nav .cta {
  min-height: 44px;
  padding: 0 18px;
  font-size: 14px;
}
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 8px 0;
}
.site-footer-brand {
  display: flex;
  align-items: center;
  gap: 24px;
}
.site-footer .wm {
  height: 22px;
}
.site-footer-copy {
  font-size: 14px;
  color: var(--ink-muted);
}
.site-footer-nav {
  display: flex;
  gap: 28px;
}
.site-footer-nav .navlink {
  font-weight: 500;
}

/* the sheet: one ledger page on the desk */
.sheet {
  background: var(--paper-raised);
  box-shadow: var(--shadow-sheet);
  display: flex;
  flex-direction: column;
}
.entry {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  border-top: 1px solid var(--rule);
}
.entry:first-child {
  border-top: 0;
}
.entry-closed {
  border-top: 3px solid var(--rule-strong);
}
.entry-paper {
  background: var(--paper);
}
.entry-demo {
  background: var(--highlighter-soft);
}
.gutter {
  background: var(--paper-sunk);
  border-right: 2px solid var(--rule-strong);
  padding: 56px 16px 0 0;
  text-align: right;
}
.gutter-late {
  color: var(--stamp-red);
  font-style: italic;
}
.gutter-closed {
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.gutter-closed .gut {
  color: var(--ink);
}
.gutter-closed .caps {
  color: var(--ink-muted);
}
.kicker {
  color: var(--chestnut);
}
.kicker-muted {
  color: var(--ink-muted);
}
.lede {
  font-size: 19px;
  line-height: 30px;
}
.lede-muted {
  font-size: 19px;
  line-height: 30px;
  color: var(--ink-muted);
}
.fine {
  font-size: 14px;
  line-height: 20px;
  color: var(--ink-muted);
}
.h2 {
  font-size: 52px;
  line-height: 58px;
}
.stack {
  display: flex;
  flex-direction: column;
}

/* 9:00a hero */
/* The comp is 1440px wide: a 520px book beside an 84px headline. Narrower than that the book gives
   up to 80px and the headline scales with what the copy column has left, so the two stay in
   proportion down to 1200px; under that the hero stacks, copy over book, as it does on a phone. */
.hero {
  padding: 72px 72px 88px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(440px, calc(100vw - 814px), 520px);
  gap: 64px;
  align-items: start;
}
.hero-copy {
  gap: 28px;
  padding-top: 24px;
}
.hero h1 {
  font-size: clamp(52px, calc((100vw - 936px) / 6), 84px);
  line-height: 1.048;
  letter-spacing: -0.015em;
}
@media (min-width: 640px) and (max-width: 1199px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 72px;
  }
  .hero h1 {
    font-size: 72px;
    line-height: 76px;
  }
  .hero-book {
    max-width: 520px;
  }
}
.hero-lede {
  font-size: 21px;
  line-height: 32px;
  color: var(--ink-muted);
  max-width: 600px;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  align-items: center;
  padding-top: 8px;
}
.hero-book {
  position: relative;
  padding-top: 8px;
}
.book {
  background: var(--paper-raised);
  border: 1px solid var(--rule);
  box-shadow: var(--shadow-slip);
  transform: rotate(0.6deg);
}
.book-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 22px 24px 14px;
  border-bottom: 2px solid var(--rule-strong);
}
.book-title {
  gap: 4px;
}
.book-day {
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 44px;
}
.book-now {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.now-pill {
  background: var(--highlighter);
  color: var(--on-highlighter);
  border-radius: 999px;
  padding: 2px 10px;
  font: 600 13px / 20px var(--font-mono);
}
.note {
  position: absolute;
  left: -56px;
  bottom: -64px;
  width: 260px;
  background: #fff6d8;
  box-shadow: var(--shadow-slip);
  border-radius: 6px;
  padding: 22px 20px 18px;
  transform: rotate(-3deg);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.note-tape {
  position: absolute;
  top: -10px;
  left: 90px;
  width: 80px;
  height: 20px;
  background: rgba(246, 198, 67, 0.55);
  transform: rotate(4deg);
}
.note .gut {
  color: var(--chestnut);
}
.note-text {
  font-size: 16px;
  line-height: 22px;
}

/* 9:30a who it's for */
.who {
  padding: 104px 72px 88px;
  gap: 48px;
}
.who-intro {
  gap: 16px;
  max-width: 860px;
}
.who-lists {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px;
}
.who-list-head {
  padding-bottom: 14px;
  border-bottom: 2px solid var(--rule-strong);
}
.who-list p {
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 18px;
  line-height: 26px;
}
.who-list-not p {
  color: var(--ink-muted);
}

/* Sun 9:40p */
.sunday {
  padding: 96px 72px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 440px;
  gap: 72px;
  align-items: center;
}
.sunday-copy {
  gap: 20px;
}
.sunday h2 {
  font-size: 44px;
  line-height: 50px;
}
.sunday-strong {
  font-weight: 700;
}
.messages {
  background: var(--paper-raised);
  border: 1px solid var(--rule);
  box-shadow: var(--shadow-slip);
  border-radius: 6px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.messages .caps {
  text-align: center;
  color: var(--ink-muted);
}
.bubble {
  align-self: flex-start;
  max-width: 300px;
  background: var(--paper-sunk);
  border-radius: 14px 14px 14px 4px;
  padding: 10px 14px;
  font-size: 15px;
  line-height: 21px;
}
.bubble-mine {
  align-self: flex-end;
  background: var(--chestnut);
  color: var(--on-chestnut);
  border-radius: 14px 14px 4px 14px;
}
.messages-unread {
  text-align: right;
  font-size: 12px;
}

/* 11:15a what changes */
.changes {
  padding: 104px 72px 96px;
  gap: 40px;
}
.changes-intro {
  gap: 12px;
}
.change-list {
  border-top: 2px solid var(--rule-strong);
}
.change {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 200px;
  gap: 24px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
}
.change-num {
  font: 500 20px / 34px var(--font-mono);
  color: var(--chestnut);
}
.change-body {
  gap: 8px;
}
.change h3 {
  font-size: 28px;
  line-height: 34px;
}
.change p {
  font-size: 17px;
  line-height: 27px;
  color: var(--ink-muted);
  max-width: 720px;
}
.change-stamp {
  justify-self: end;
  padding-top: 6px;
}

/* 2:30p the demo */
.demo {
  padding: 104px 72px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 540px;
  gap: 72px;
  align-items: start;
}
.demo-copy {
  gap: 24px;
}
.demo h2 {
  font-size: 64px;
  line-height: 68px;
}
.demo-cta {
  display: flex;
  gap: 16px;
  align-items: center;
  padding-top: 8px;
}
.things-wrap {
  position: relative;
}
.things-nellie {
  position: absolute;
  right: 24px;
  top: -92px;
  width: 120px;
}
.things-nellie svg,
.nellie svg {
  display: block;
  width: 100%;
  height: auto;
}
.things {
  background: var(--paper-raised);
  box-shadow: var(--shadow-sheet);
  border-top: 3px solid var(--chestnut);
  padding: 24px 28px 12px;
}
.things-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--rule-strong);
}
.things-title {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 34px;
}
.thing {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 20px;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
}
.thing:last-child {
  border-bottom: 0;
}
.thing-text {
  font-size: 16px;
  line-height: 22px;
}
.thing-box {
  width: 18px;
  height: 18px;
  border: 2px solid var(--rule-strong);
  border-radius: 3px;
}

/* 4:00p built for hair salons */
.built {
  padding: 104px 72px 96px;
  gap: 48px;
}
.built h2 {
  max-width: 900px;
}
.built-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 64px;
  border-top: 2px solid var(--rule-strong);
}
.built-item {
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.built-item h3 {
  font-size: 26px;
  line-height: 32px;
}
.built-item p {
  font-size: 17px;
  line-height: 27px;
  color: var(--ink-muted);
}

/* 5:15p meet Nellie */
.meet {
  padding: 88px 72px;
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 72px;
  align-items: center;
}
.meet-portrait {
  width: 340px;
  height: 340px;
  border-radius: 999px;
  background: var(--nellie-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}
.meet-portrait .nellie {
  width: 240px;
}
.meet-copy {
  gap: 20px;
  max-width: 680px;
}

/* 5:45p price */
.price {
  padding: 88px 72px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 460px;
  gap: 72px;
  align-items: start;
}
.price-copy {
  gap: 16px;
}
.price-copy .lede-muted {
  max-width: 560px;
}
.invoice {
  background: var(--paper-raised);
  border: 1px solid var(--rule);
  box-shadow: var(--shadow-slip);
  border-radius: 6px;
  padding: 28px;
}
.invoice .caps {
  color: var(--ink-muted);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--rule-strong);
}
.invoice-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 16px;
  color: var(--ink-muted);
}
.invoice-line-first {
  padding: 16px 0;
  font-size: 17px;
  color: var(--ink);
}
.invoice-line-last {
  border-bottom: 3px double var(--rule-strong);
}
.invoice-amount {
  font: 400 18px / 24px var(--font-mono);
}
.invoice-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 18px 0 4px;
  font-size: 17px;
  font-weight: 700;
}
.invoice-total .invoice-amount {
  font: 600 28px / 34px var(--font-mono);
}
.price-start {
  margin-top: 16px;
  display: block;
}

/* 6:00p closed */
.closed {
  padding: 104px 72px 112px;
  gap: 28px;
  align-items: flex-start;
}
.closed h2 {
  font-size: 80px;
  line-height: 84px;
  letter-spacing: -0.015em;
  max-width: 1000px;
}
.closed .lede-muted {
  max-width: 680px;
}
.closed-quote {
  font-family: var(--font-display);
  font-size: 36px;
  line-height: 44px;
}
.closed-cta {
  padding-top: 16px;
}

/* the phone (Phone.dc.html) */
@media (max-width: 639px) {
  .desk {
    padding: 0 0 48px;
  }
  .site-header {
    height: 64px;
    padding: 0 16px;
  }
  .site-header .wm {
    height: 24px;
  }
  .site-nav .navlink {
    display: none;
  }
  .site-nav .cta {
    padding: 0 14px;
  }
  .entry {
    grid-template-columns: 52px minmax(0, 1fr);
  }
  .gutter {
    padding: 32px 6px 0 0;
  }
  .gutter .gut {
    font-size: 11px;
  }
  .gutter-closed {
    padding-top: 16px;
    gap: 2px;
  }
  .gutter-closed .caps {
    font-size: 9px;
  }
  .h2,
  .sunday h2 {
    font-size: 32px;
    line-height: 38px;
  }
  .lede,
  .lede-muted {
    font-size: 16px;
    line-height: 25px;
  }
  .fine {
    font-size: 13px;
    line-height: 18px;
  }
  .hero,
  .who,
  .sunday,
  .changes,
  .demo,
  .built,
  .meet,
  .price {
    padding: 48px 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .hero {
    padding: 36px 20px 56px;
  }
  .hero h1 {
    font-size: 44px;
    line-height: 48px;
    letter-spacing: -0.01em;
  }
  .hero-lede {
    font-size: 17px;
    line-height: 26px;
  }
  .hero-copy {
    padding-top: 0;
    gap: 20px;
  }
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-ctas .cta {
    justify-content: center;
  }
  .hero-ctas .cta-ghost {
    display: none;
  }
  .hero-book {
    margin-top: 12px;
    padding-top: 0;
  }
  .book {
    transform: none;
  }
  .book-head {
    padding: 14px 14px 10px;
  }
  .book-head .caps,
  .book-now .gut {
    display: none;
  }
  .book-day {
    font-size: 28px;
    line-height: 32px;
  }
  .now-pill {
    padding: 1px 8px;
    font: 600 12px / 18px var(--font-mono);
  }
  .note {
    position: relative;
    left: auto;
    bottom: auto;
    margin: -10px 0 0 24px;
    width: 220px;
    padding: 16px 14px 12px;
    transform: rotate(-2.5deg);
    gap: 4px;
  }
  .note-tape {
    display: none;
  }
  .note .gut {
    font-size: 12px;
  }
  .note-text {
    font-size: 14px;
    line-height: 20px;
  }
  .who-lists {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  .who-list p {
    font-size: 16px;
    line-height: 23px;
    padding: 12px 0;
  }
  .sunday {
    gap: 24px;
  }
  .messages {
    padding: 16px;
  }
  .bubble {
    max-width: 230px;
    padding: 8px 12px;
    font-size: 14px;
    line-height: 20px;
  }
  .change {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 20px 0;
  }
  .change-stamp {
    margin-left: auto;
    padding-top: 0;
  }
  .change-body {
    flex-basis: 100%;
  }
  .change-num {
    font: 500 16px / 20px var(--font-mono);
  }
  .change h3 {
    font-size: 22px;
    line-height: 28px;
  }
  .change p {
    font-size: 15px;
    line-height: 23px;
  }
  .demo {
    gap: 16px;
  }
  .demo h2 {
    font-size: 36px;
    line-height: 40px;
  }
  .things-title {
    font-size: 22px;
    line-height: 28px;
  }
  .things-nellie {
    position: static;
    width: 88px;
  }
  .things {
    padding: 16px 16px 8px;
  }
  .thing {
    grid-template-columns: 56px minmax(0, 1fr);
    padding: 10px 0;
  }
  .thing .gut {
    font-size: 12px;
  }
  .thing-text {
    font-size: 15px;
    line-height: 21px;
  }
  .thing-box {
    display: none;
  }
  .built-grid {
    display: flex;
    flex-direction: column;
  }
  .built-item {
    padding: 18px 0;
    gap: 6px;
  }
  .built-item h3 {
    font-size: 21px;
    line-height: 27px;
  }
  .built-item p {
    font-size: 15px;
    line-height: 23px;
  }
  .meet-portrait {
    width: 200px;
    height: 200px;
  }
  .meet-portrait .nellie {
    width: 150px;
  }
  .invoice {
    padding: 18px;
  }
  .invoice-line {
    padding: 10px 0;
    font-size: 14px;
  }
  .invoice-line-first {
    padding: 12px 0;
    font-size: 15px;
  }
  .invoice-amount {
    font: 400 15px / 20px var(--font-mono);
  }
  .invoice-total {
    padding: 14px 0 2px;
    font-size: 15px;
  }
  .invoice-total .invoice-amount {
    font: 600 22px / 28px var(--font-mono);
  }
  .closed {
    padding: 56px 20px 64px;
    gap: 18px;
  }
  .closed h2 {
    font-size: 44px;
    line-height: 48px;
  }
  .closed-quote {
    font-size: 24px;
    line-height: 32px;
  }
  .closed-cta .cta {
    width: 100%;
    justify-content: center;
  }
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 32px 16px 0;
  }
  .site-footer-brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .site-footer .wm {
    height: 20px;
  }
  .site-footer-nav {
    flex-wrap: wrap;
    gap: 20px;
  }
  .site-footer-copy {
    font-size: 13px;
  }
}

/* /onboard-salon */
.onboard {
  position: relative;
  padding: 88px 72px 104px;
  gap: 24px;
  max-width: 720px;
}
.onboard-nellie {
  position: absolute;
  right: 72px;
  top: 24px;
  width: 96px;
}
.onboard-nellie svg {
  display: block;
  width: 100%;
  height: auto;
}
.onboard-form {
  gap: 20px;
  padding-top: 8px;
}
.onboard-slug {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.onboard-slug input {
  flex: 1 1 auto;
  min-width: 0;
}
.onboard-error {
  min-height: 18px;
}
.onboard-form .ts-btn {
  align-self: flex-start;
}
.ts-stamp[hidden] {
  display: none;
}
.notfound-nellie {
  width: 160px;
}
@media (max-width: 639px) {
  .onboard {
    padding: 48px 20px 64px;
  }
  .onboard-nellie {
    position: static;
    width: 72px;
  }
  .onboard-form .ts-btn {
    align-self: stretch;
    justify-content: center;
  }
}

/* demo.trimslot.com: the door (Demo-door.dc.html) */
.door-desk {
  align-items: center;
}
.door-page {
  position: relative;
  margin-top: 88px;
  width: 760px;
  max-width: 100%;
}
.door-nellie {
  position: absolute;
  right: 40px;
  top: -104px;
  width: 128px;
  height: 128px;
}
.door-head {
  padding: 40px 40px 24px;
  border-bottom: 2px solid var(--rule-strong);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.door-title {
  font-size: 56px;
  line-height: 60px;
}
.door-lede {
  font-size: 18px;
  line-height: 28px;
  color: var(--ink-muted);
}
/* A door's face: the portrait fills the kit's monogram circle; Sarah keeps her initials. */
.door-face {
  overflow: hidden;
  padding: 0;
}
.door-face img {
  width: 100%;
  height: 100%;
  display: block;
}
.door {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 22px 40px;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--rule);
}
.door:hover {
  background: var(--highlighter-soft);
  color: var(--ink);
}
.door-start {
  background: var(--highlighter-soft);
}
.door-you {
  border-bottom: 0;
  border-top: 2px solid var(--rule-strong);
  margin-top: 8px;
}
.door-who {
  display: flex;
  align-items: center;
  gap: 18px;
}
.door-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.door-name {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 32px;
}
.door-sub {
  font-size: 16px;
  line-height: 22px;
  color: var(--ink-muted);
}
.door .cta {
  min-height: 44px;
  padding: 0 18px;
  font-size: 15px;
}
.door .cta-ghost {
  min-height: 44px;
}
.door-mono-you {
  background: var(--paper-sunk);
  border-style: dashed;
  font-family: var(--font-sans);
  font-size: 18px;
}
.door-fine {
  padding: 20px 40px 28px;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.door-fine p {
  font-size: 15px;
  line-height: 22px;
  color: var(--ink-muted);
}
.door-fine code {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--ink);
}
@media (max-width: 639px) {
  .door-page {
    margin-top: 72px;
    padding: 0 16px;
  }
  .door-title {
    font-size: 38px;
    line-height: 42px;
  }
  .door-head,
  .door,
  .door-fine {
    padding-left: 20px;
    padding-right: 20px;
  }
  .door {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .door-nellie {
    right: 28px;
    width: 96px;
    height: 96px;
    top: -80px;
  }
}
