@font-face {
  font-family: Inter;
  src: url('/assets/inter-latin-400-normal.woff2');
  font-display: swap;
}

@font-face {
  font-family: Inter;
  src: url('/assets/inter-latin-600-normal.woff2');
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: Inter;
  src: url('/assets/inter-latin-700-normal.woff2');
  font-weight: 700;
  font-display: swap;
}

:root {
  font: 100%/1.5 Inter,system-ui,sans-serif;
  color: #37162e;
  background: #fcf8f2;
  --plum: #511638;
  --brass: #946920;
  --line: #dfd2d9;
}

* {
  box-sizing: border-box;
}

body {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 clamp(20px,4.2vw,72px) 36px;
}

h1,h2,h3,p,figure {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible {
  outline: 3px solid #915d9c;
  outline-offset: 4px;
}

.topbar,.brand,nav,.action {
  display: flex;
  align-items: center;
}

.topbar {
  justify-content: space-between;
  gap: 12px;
  padding: clamp(16px,2vw,29px) 0;
  border-bottom: 1px solid var(--line);
}

.brand {
  gap: .55em;
  font-size: clamp(1.22rem,2.3vw,2.05rem);
  font-weight: 700;
  letter-spacing: -.055em;
}

.book,.icon {
  display: inline-block;
  flex: none;
  width: 1.35em;
  height: 1.35em;
  background: var(--brass);
  mask: var(--symbol) center/contain no-repeat;
}

.book {
  --symbol: url('/assets/class-book.svg');
}

.folder {
  --symbol: url('/assets/landing-icons.svg#folder');
}

.calendar {
  --symbol: url('/assets/landing-icons.svg#calendar');
}

.award {
  --symbol: url('/assets/landing-icons.svg#award');
}

nav {
  gap: clamp(12px,2.5vw,38px);
  font-weight: 600;
}

nav a {
  padding-block: 10px;
}

nav a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.action {
  justify-content: center;
  width: fit-content;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 8px;
  background: var(--plum);
  color: #fff;
  font-weight: 600;
  line-height: 1.25;
}

.action:hover {
  background: #702951;
  text-decoration: none;
}

.action.small {
  min-height: 42px;
  padding: 10px 18px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0,.84fr) minmax(0,1.16fr);
  align-items: center;
  gap: clamp(24px,3.5vw,58px);
  padding: clamp(20px,2.3vw,36px) 0;
}

h1 {
  font-size: clamp(2.65rem,4.45vw,4.55rem);
  line-height: 1.04;
  letter-spacing: -.067em;
  text-wrap: balance;
}

h1 span {
  display: block;
}

.hero-copy .action {
  font-size: 1.125rem;
}

.hero-copy p {
  max-width: 35ch;
  margin: 1.3em 0 1.6em;
  font-size: clamp(1.05rem,1.55vw,1.55rem);
  line-height: 1.48;
}

.desk {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1.48;
  border-radius: 14px;
  background: #684551 url('/assets/landing-desk.jpg') center/cover;
  overflow: hidden;
  container-type: inline-size;
}

.preview {
  width: 68%;
  display: flex;
  overflow: hidden;
  background: #fcf9fc;
  border: 1px solid #fff;
  border-radius: 12px;
  color: #381a31;
  box-shadow: 0 18px 32px #28161e42;
  font-size: clamp(.75rem,2.65cqw,1.25rem);
}

.rail {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: .9em;
  background: #422338;
  color: white;
  padding: 1em .65em;
}

.rail .book {
  background: #edc78a;
}

.rail .icon {
  background: #ede0e8;
  width: 1em;
  height: 1em;
}

.screen {
  flex: 1;
  padding: .95em;
  min-width: 0;
}

.screen>strong {
  font-size: 1.68em;
  line-height: 1.2;
  letter-spacing: -.05em;
}

.priority {
  margin-top: .75em;
  border: 1px solid #e3d9df;
  border-radius: 7px;
  background: white;
  padding: .75em;
}

.class-name {
  border-top: 1px solid #e3d9df;
  margin-top: .55em;
  padding-top: .65em;
  font-weight: 600;
}

.sample-actions {
  display: flex;
  gap: .4em;
  margin-top: .75em;
  font-size: .83em;
  text-align: center;
}

.sample-actions span {
  padding: .45em .58em;
  border-radius: 4px;
  background: #f4eef3;
  color: var(--plum);
}

.sample-actions span:first-child {
  background: var(--plum);
  color: white;
}

.features {
  border-top: 1px solid var(--line);
  padding-block: clamp(24px,3vw,46px) 12px;
}

h2 {
  font-size: clamp(1.75rem,2.8vw,2.8rem);
  line-height: 1.1;
  letter-spacing: -.055em;
}

.columns {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  margin-top: clamp(20px,2.5vw,38px);
}

article {
  display: flex;
  gap: clamp(12px,1.4vw,24px);
  align-items: flex-start;
  padding-right: 22px;
}

article+article {
  border-left: 1px solid var(--line);
  padding-left: clamp(16px,2.5vw,40px);
}

article .icon {
  width: clamp(28px,3.3vw,48px);
  height: clamp(28px,3.3vw,48px);
}

h3 {
  font-size: clamp(1.1rem,1.6vw,1.5rem);
  letter-spacing: -.04em;
  line-height: 1.22;
}

article p {
  max-width: 35ch;
  margin-top: 8px;
  color: #675761;
}

@media (max-width:730px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 0 24px;
  }
  .hero-copy {
    max-width: 37rem;
  }
  .desk {
    aspect-ratio: 1.8;
  }
  .columns {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  article+article {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 18px 0 0;
  }
  article p {
    max-width: none;
  }
  .hero-copy p {
    margin: .9em 0 1.15em;
  }
  .preview {
    width: min(67%,330px);
  }
}

@media (max-width:440px) {
  body {
    padding-inline: 16px;
  }
  nav {
    font-size: .875rem;
    gap: 10px;
  }
  .action.small {
    padding: 9px 10px;
  }
  .brand {
    gap: .3em;
  }
  .brand .book {
    width: 1.12em;
  }
  .desk {
    aspect-ratio: 1.55;
  }
  .preview {
    width: 76%;
  }
}

@media (max-width:335px) {
  .topbar {
    flex-wrap: wrap;
  }
}

@media (forced-colors:active) {
  .action,.preview {
    border: 1px solid ButtonText;
  }
  .icon,.book {
    background: CanvasText;
    forced-color-adjust: none;
  }
}
