/* Chairwise sales page (design frame X01): linen paper, espresso ink, one cognac accent.
   Albert Sans for words, Bodoni Moda for display lines only. */

@font-face {
  font-family: "Albert Sans";
  src: url("fonts/albert-sans.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Albert Sans";
  src: url("fonts/albert-sans-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Bodoni Moda";
  src: url("fonts/bodoni-moda.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bodoni Moda";
  src: url("fonts/bodoni-moda-italic.woff2") format("woff2");
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: #f8f4ef;
  --surface: #ffffff;
  --surface-2: #f1eae2;
  --line: #e9e0d6;
  --line-strong: #d9cdbf;
  --text: #231a15;
  --text-2: #6b5e55;
  --text-3: #7a6c62;
  --ink: #231a15;
  --on-ink: #ffffff;
  --brand: #8e4a2b;
  --brand-ink: #6e3820;
  --brand-soft: #8e4a2b1f;
  --brand-hover: #7a3f24;
  --sage: #5e8b76;
  --sage-ink: #3f6b57;
  --sage-soft: #5e8b7624;
  --shadow: #0b0f171f;
  --body: "Albert Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Bodoni Moda", Georgia, "Times New Roman", serif;
  --gutter: clamp(20px, 5vw, 120px);
  --band-y: clamp(56px, 6.7vw, 96px);
}

/* The page scrollbar is the browser's own. */
html {
  overflow-y: scroll;
  scrollbar-gutter: stable;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.5 var(--body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* Everything pressable shows the hand; focus is a thin brand line, never a glow. */
a[href],
button,
[role="button"],
summary,
label[for] {
  cursor: pointer;
}
:focus {
  outline: none;
}
a:focus-visible {
  outline: 1px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}
.btn-secondary:focus-visible {
  outline: none;
  border-color: var(--brand);
}

.wrap {
  width: min(1200px, 100% - 2 * var(--gutter));
  margin-inline: auto;
}
[id] {
  scroll-margin-top: 16px;
}

.i {
  width: 16px;
  height: 16px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Type */
.eyebrow {
  color: var(--brand-ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 16px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}
.h1,
.h2 {
  font-family: var(--display);
  font-weight: 500;
  color: var(--text);
}
.h1 {
  font-size: clamp(44px, 4.45vw, 64px);
  line-height: 1.05;
}
.nowrap {
  white-space: nowrap;
}
.h2 {
  font-size: clamp(32px, 3.1vw, 44px);
  line-height: 1.22;
}
.sub,
.body {
  color: var(--text-2);
  font-size: 17px;
  line-height: 1.55;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 10px;
  font: 600 15px/1 var(--body);
  white-space: nowrap;
  transition:
    background-color 0.15s,
    border-color 0.15s,
    color 0.15s;
}
.btn-lg {
  height: 52px;
}
.btn-xl {
  height: 56px;
}
.btn-dark {
  background: var(--ink);
  color: var(--on-ink);
}
.btn-dark:hover {
  background: var(--brand);
}
.btn-primary {
  background: var(--brand);
  color: #fff;
}
.btn-primary[href]:hover {
  background: var(--brand-hover);
}
[data-buy]:not([href]) {
  cursor: default;
}
.btn-secondary {
  background: var(--surface);
  border-color: var(--line-strong);
  color: var(--text);
}
.btn-secondary:hover {
  background: var(--brand-soft);
  border-color: var(--brand);
  color: var(--brand-ink);
}

/* Top bar */
.topbar {
  border-bottom: 1px solid var(--line);
}
.topbar-in {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 76px;
}
.mark {
  flex: none;
  display: block;
}
.brand {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.2px;
}
.tagline {
  padding-top: 4px;
  color: var(--text-2);
  font-size: 15px;
}
.nav {
  display: flex;
  gap: 12px;
  margin-left: auto;
}
.nav a {
  color: var(--text-2);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.15s;
}
.nav a:hover {
  color: var(--brand-ink);
}

/* Hero */
.hero-in {
  display: grid;
  grid-template-columns: minmax(0, 460px) 692px;
  justify-content: space-between;
  align-items: start;
  column-gap: 40px;
  padding: 72px 0 88px;
}
.hero-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding-top: 2px;
}
.lead {
  color: var(--text-2);
  font-size: 18px;
  line-height: 1.55;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.includes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding-top: 0;
}
.includes li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
}
.includes .i {
  width: 15px;
  height: 15px;
  color: var(--brand-ink);
}

/* Hero stage: the calendar card and the booked phone. */
.stage {
  position: relative;
  width: 692px;
  max-width: 100%;
  height: 600px;
}
.hero-phone {
  position: absolute;
  top: 0;
  right: 0;
  width: 220px;
  height: auto;
  border: 1px solid var(--line-strong);
  border-radius: 26px;
  background: var(--bg);
  box-shadow: 0 18px 40px var(--shadow);
}

.cal {
  --gut: 56px;
  --col: 160px;
  position: absolute;
  top: 70px;
  left: 0;
  width: min(540px, 100% - 152px);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 24px 56px var(--shadow);
}
.cal-head {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.cal-head > .i {
  color: var(--brand-ink);
}
.cal-head b {
  font-size: 15px;
  font-weight: 700;
}
.key {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--text-2);
  font-size: 13px;
}
.key i {
  width: 10px;
  height: 10px;
  border-radius: 3px;
}
.k-booked {
  background: var(--brand);
}
.k-free {
  background: var(--sage);
}
.cal-staff {
  display: flex;
  height: 72px;
  padding: 8px 12px 8px var(--gut);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.head {
  display: flex;
  flex: none;
  align-items: center;
  gap: 8px;
  width: var(--col);
  padding: 0 10px;
}
.head img {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  object-fit: cover;
}
.head b,
.head small {
  display: block;
}
.head b {
  font-size: 13px;
  font-weight: 600;
  line-height: 17px;
}
.head small {
  color: var(--text-3);
  font-size: 11px;
  line-height: 14px;
}
.cal-day {
  padding: 6px 12px 0 0;
}
.cal-grid {
  position: relative;
  height: 374px;
  overflow: hidden;
  font-size: 11px;
  line-height: 14px;
}
.cal-grid::before {
  /* Hour lines over quarter lines, in the lanes right of the time gutter. */
  content: "";
  position: absolute;
  inset: 0 0 0 var(--gut);
  background:
    repeating-linear-gradient(to bottom, var(--line) 0 1px, transparent 1px 88px),
    repeating-linear-gradient(to bottom, var(--surface-2) 0 1px, transparent 1px 22px);
}
.hr {
  position: absolute;
  top: calc(var(--t) + 2px);
  left: 0;
  width: var(--gut);
  padding-right: 8px;
  color: var(--text-3);
  font-weight: 500;
  text-align: right;
}
.vline {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--gut) + var(--col) * var(--c));
  width: 1px;
  background: var(--line);
}
.now {
  position: absolute;
  top: 52px;
  left: 0;
  right: 0;
  height: 16px;
}
.now b {
  position: absolute;
  left: 22px;
  top: 0;
  width: 30px;
  height: 16px;
  border-radius: 4px;
  background: var(--brand);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  line-height: 16px;
  text-align: center;
}
.now::before {
  content: "";
  position: absolute;
  left: var(--gut);
  top: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
}
.now::after {
  content: "";
  position: absolute;
  left: calc(var(--gut) + 8px);
  right: 0;
  top: 7px;
  height: 2px;
  background: var(--brand);
}
.ev,
.free,
.brk {
  position: absolute;
  z-index: 1;
  top: var(--t);
  left: calc(var(--gut) + var(--col) * var(--c) + 3px);
  width: calc(var(--col) - 6px);
  height: var(--h);
  overflow: hidden;
  border-radius: 6px;
  white-space: nowrap;
}
.ev {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 5px 8px 5px 10px;
  border-left: 3px solid var(--brand);
  background: linear-gradient(var(--brand-soft), var(--brand-soft)), var(--surface);
}
.ev p {
  overflow: hidden;
  text-overflow: ellipsis;
}
.ev-top {
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 14px;
  color: var(--brand-ink);
  font-weight: 500;
}
.ev-top > .i {
  width: 12px;
  height: 12px;
  margin-left: auto;
}
.ev-client {
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
}
.ev-svc {
  color: var(--text-2);
}
.ev-foot {
  display: flex;
  align-items: center;
  gap: 4px;
  padding-top: 2px;
  color: var(--brand-ink);
  font-size: 10px;
  font-weight: 500;
  line-height: 13px;
}
.ev-foot .i {
  width: 11px;
  height: 11px;
}
.tag {
  display: inline-block;
  height: 16px;
  padding: 0 4px;
  border-radius: 4px;
  background: #ffffff26;
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  line-height: 16px;
}
.tag-brand {
  background: var(--brand);
}
.ev.one {
  padding: 3px 8px 3px 10px;
}
.ev.in {
  border-left-color: var(--brand-hover);
  background: var(--brand);
  color: #fff;
}
.ev.in .ev-top,
.ev.in .ev-foot {
  color: #ffffffe6;
}
.ev.in .ev-svc {
  color: #ffffffb3;
}
.ev.done {
  border-left-color: var(--line-strong);
  background: var(--surface-2);
}
.ev.done .ev-top {
  color: var(--text-3);
}
.ev.done .ev-client {
  color: var(--text-2);
}
.ev.done .ev-svc {
  color: var(--text-3);
}
.free {
  padding: 3px 8px;
  background: linear-gradient(var(--sage-soft), var(--sage-soft)), var(--surface);
  color: var(--sage-ink);
}
.free p {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
}
.free .i {
  width: 12px;
  height: 12px;
}
.free small {
  display: block;
  font-size: 10px;
  line-height: 13px;
}
.brk {
  padding: 5px 8px;
  border: 1px solid var(--line);
  background: repeating-linear-gradient(135deg, var(--line-strong) 0 1px, transparent 1px 4.95px), var(--surface-2);
}
.brk p {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 1px 4px;
  border-radius: 4px;
  background: var(--surface-2);
  color: var(--text-2);
  font-weight: 500;
}
.brk .i {
  width: 12px;
  height: 12px;
}

/* Bands */
.band {
  padding: var(--band-y) 0;
}
.band-white {
  background: var(--surface);
  border-top: 1px solid var(--line);
}
.band-linen2 {
  background: var(--surface-2);
}
.sec-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 40px;
}

/* Try the demo */
#demo {
  padding: clamp(48px, 5vw, 72px) 0;
}
.demo-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 48px;
  margin-bottom: 28px;
}
.demo-head > div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.demo-note {
  flex: none;
  width: 420px;
  max-width: 100%;
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.4;
}
.demo-cards {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: start;
  gap: 16px;
}
.dcard {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg);
}
.ibox {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand-ink);
}
.ibox .i {
  width: 18px;
  height: 18px;
}
.dcard h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 22px;
}
.dcard p {
  color: var(--text-2);
  font-size: 14px;
  line-height: 17px;
}
.dcard .btn {
  height: 42px;
  padding: 0 12px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px 32px;
  margin-top: 28px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  counter-reset: step;
}
.steps li {
  position: relative;
  padding-left: 34px;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.45;
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -3px;
  color: var(--brand-ink);
  font: italic 500 26px/1 var(--display);
}
.steps b {
  display: block;
  margin-bottom: 2px;
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
}

/* The menu */
.menu-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 40px;
  text-align: center;
}
.menu-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(40px, 5vw, 72px);
  padding: 56px clamp(24px, 4.45vw, 64px);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  box-shadow: 0 18px 44px var(--shadow);
}
.menu-col {
  display: flex;
  flex-direction: column;
  gap: 34px;
}
.mhead {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font: italic 500 28px/43px var(--display);
}
.mhead::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line-strong);
}
.mgroup ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
/* Dotted leaders, as on a printed price list: the dots run along the row's last line and the words cover them,
   so a name that wraps still leads to its value. */
.leaders li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  --dots-y: 2px;
  background: linear-gradient(to right, var(--text-3) 2px, transparent 2px) 0 calc(100% - var(--dots-y)) / 6px 2px
    repeat-x;
}
.leaders .n {
  /* At least 16 px of dots before the value, however the name wraps. */
  padding-right: 16px;
}
.leaders .n > * {
  padding-right: 8px;
  background: var(--surface);
  -webkit-box-decoration-break: slice;
  box-decoration-break: slice;
}
.leaders em {
  padding-left: 8px;
  background: var(--surface);
}
.mgroup li .n {
  font-size: 17px;
  font-weight: 500;
  line-height: 20px;
}
.mgroup li em {
  color: var(--brand-ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 18px;
}

/* Three chairs */
.chairs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.chair {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}
.chair-title {
  font: 500 32px/1.25 var(--display);
}
.chair-sub {
  margin-top: 4px;
  color: var(--text-2);
  font-size: 15px;
}
.shots {
  position: relative;
  aspect-ratio: 328 / 340;
  margin: 20px 0;
}
.shot-phone,
.shot-admin {
  position: absolute;
  height: auto;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  box-shadow: 0 18px 40px var(--shadow);
}
.shot-phone {
  width: 45.73%;
  border-radius: 18px;
}
.shot-phone.p1 {
  left: 1.83%;
  top: 2.94%;
}
.shot-phone.p2 {
  left: 52.44%;
  top: 0;
}
.shot-admin {
  width: 91.46%;
  border-radius: 14px;
  box-shadow: 0 14px 36px var(--shadow);
}
.shot-admin.a1 {
  left: 0;
  top: 0;
}
.shot-admin.a2 {
  left: 7.93%;
  top: 44.12%;
}
.ticks {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ticks li {
  display: flex;
  gap: 10px;
  font-size: 15px;
  line-height: 1.2;
}
.ticks .i {
  margin-top: 1px;
  color: var(--sage-ink);
}

/* Signature moment */
.sig {
  display: grid;
  grid-template-columns: minmax(0, 380px) 772px;
  justify-content: space-between;
  align-items: center;
  column-gap: 40px;
}
.sig-text {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.sig-text .h2 {
  line-height: 1.5;
}
.bullets {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  line-height: 18px;
}
.bullets li::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: 5px;
  border-radius: 4px;
  background: var(--brand);
}
.sig-stage {
  position: relative;
  width: 772px;
  max-width: 100%;
  height: 600px;
}
.ticket {
  position: absolute;
  top: 60px;
  left: 0;
  width: min(540px, 100% - 232px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 24px 56px var(--shadow);
}
.t-edge {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 28px;
  background: var(--brand);
  color: #fff;
}
.t-edge span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}
.t-edge b {
  margin-left: auto;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.6px;
}
.t-front {
  padding: 28px 32px 24px;
}
.t-date {
  color: var(--brand-ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 16px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}
.t-time {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  margin-top: 4px;
}
.t-big {
  font: 500 clamp(72px, 19vw, 112px) / 1 var(--display);
  letter-spacing: -1px;
}
.t-ampm {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-bottom: 16px;
}
.t-ampm span {
  font: 500 32px/1.2 var(--display);
}
.t-ampm small {
  color: var(--text-2);
  font-size: 14px;
  white-space: nowrap;
}
.t-who {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 4px;
  padding: 14px 0 4px;
}
.t-who img {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  object-fit: cover;
}
.t-who b,
.t-who small {
  display: block;
}
.t-who b {
  font-size: 18px;
  font-weight: 700;
  line-height: 22px;
}
.t-who small {
  margin-top: 3px;
  color: var(--text-2);
  font-size: 15px;
  line-height: 18px;
}
.t-where {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  padding-top: 10px;
  font-size: 15px;
  font-weight: 500;
}
.t-where .i {
  color: var(--text-2);
}
.t-perf {
  position: relative;
  height: 24px;
  background: repeating-linear-gradient(to right, var(--line-strong) 0 7px, transparent 7px 13px) 28px 11px / calc(100% - 56px) 2px no-repeat;
}
.t-perf::before,
.t-perf::after {
  content: "";
  position: absolute;
  top: 0;
  width: 12px;
  height: 24px;
  border: 1px solid var(--line);
  background: var(--bg);
}
.t-perf::before {
  left: -1px;
  border-left: 0;
  border-radius: 0 12px 12px 0;
}
.t-perf::after {
  right: -1px;
  border-right: 0;
  border-radius: 12px 0 0 12px;
}
.t-back {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 32px 28px;
  font-size: 15px;
  line-height: 18px;
}
.t-back div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.t-back dt {
  color: var(--text-2);
}
.t-back dd {
  font-weight: 700;
  text-align: right;
}
.t-back .sage {
  color: var(--sage-ink);
}
.t-back .brandink {
  color: var(--brand-ink);
}
.sig-phone {
  position: absolute;
  top: 40px;
  right: 2px;
  width: 210px;
  height: auto;
  border: 1px solid var(--line-strong);
  border-radius: 25px;
  background: var(--bg);
  box-shadow: 0 18px 40px var(--shadow);
}

/* Buyers asked */
.answers {
  margin-top: -8px;
}
.qa {
  display: grid;
  grid-template-columns: minmax(0, 520px) minmax(0, 632px);
  justify-content: space-between;
  gap: 12px 48px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.qa:last-child {
  border-bottom: 0;
}
.q {
  font: italic 500 22px/1.3 var(--display);
}
.a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 17px;
  line-height: 1.5;
}
.ck {
  display: grid;
  flex: none;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 13px;
  background: var(--sage-soft);
  color: var(--sage-ink);
}
.ck .i {
  width: 14px;
  height: 14px;
}

/* Stack */
.stack {
  display: grid;
  grid-template-columns: minmax(0, 616px) minmax(0, 520px);
  justify-content: space-between;
  align-items: start;
  gap: 40px 64px;
}
.stack-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.chips {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  background: var(--surface);
  font-size: 15px;
  font-weight: 600;
}
.chip .i {
  color: var(--brand-ink);
}
.dl-card {
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}
.dl-card h3 {
  font: 500 28px/43px var(--display);
}
.dl-card li {
  --dots-y: 13px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.dl-card li:last-child {
  border-bottom: 0;
}
.dl-card .n {
  font-size: 16px;
  line-height: 19px;
}
.dl-card b {
  font-weight: 600;
}
.dl-card em {
  color: var(--text-2);
  font-size: 14px;
  line-height: 17px;
  text-align: right;
}

/* Footer */
.foot {
  border-top: 1px solid var(--line);
  background: var(--surface-2);
}
.foot-in {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  padding: 72px 0 56px;
  text-align: center;
}
.foot-in .sub {
  margin-top: -6px;
}
.foot-line {
  display: flex;
  align-items: center;
  gap: 10px;
  align-self: stretch;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  text-align: left;
}
.foot-line span {
  color: var(--text-2);
  font-size: 14px;
}
.foot-line small {
  margin-left: auto;
  color: var(--text-3);
  font-size: 13px;
  text-align: right;
}

/* Laptop: 1280 and below */
@media (max-width: 1279px) {
  .sig-text .h2 {
    line-height: 1.22;
  }
}

/* Small laptop and tablet: the hero, signature and stack stack up. */
@media (max-width: 1179px) {
  .hero-in {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 48px;
    padding: 56px 0 72px;
  }
  .hero-text {
    max-width: 680px;
  }
  .h1 {
    font-size: clamp(44px, 5.9vw, 60px);
  }
  .stage {
    justify-self: center;
  }
  .demo-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .dcard-admin {
    grid-row: span 2;
    align-self: stretch;
  }
  .menu-card {
    padding: 44px 36px;
    column-gap: 40px;
  }
  .mgroup li .n {
    font-size: 16px;
  }
  .mgroup li em {
    font-size: 14px;
  }
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sig {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 40px;
  }
  .sig-text {
    max-width: 640px;
  }
  .sig-stage {
    justify-self: center;
  }
  .stack {
    grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
  }
}

@media (max-width: 1023px) {
  .chairs {
    grid-template-columns: minmax(0, 1fr);
    max-width: 560px;
    margin-inline: auto;
  }
  .qa {
    grid-template-columns: minmax(0, 1fr);
  }
  .tagline {
    display: none;
  }
}

@media (max-width: 899px) {
  .menu-card {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 34px;
  }
  .demo-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .demo-note {
    width: auto;
  }
  .stack {
    grid-template-columns: minmax(0, 1fr);
  }
  .stack .dl-card {
    max-width: 560px;
  }
}

/* Phone */
@media (max-width: 640px) {
  .nav {
    display: none;
  }
  .topbar-in {
    height: 64px;
  }
  .brand {
    font-size: 26px;
  }
  .lead {
    font-size: 17px;
  }
  .hero-actions .btn {
    flex: 1 1 100%;
  }
  .stage {
    width: 100%;
    height: auto;
  }
  .hero-phone {
    display: none;
  }
  .cal {
    --gut: 44px;
    position: static;
    width: 100%;
  }
  .cal-head {
    padding: 0 14px;
  }
  .cal-head b {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .key {
    display: none;
  }
  .now b {
    left: 6px;
  }
  .ev.in .ev-top > .i {
    display: none;
  }
  .cal-grid {
    --col: calc((100% - var(--gut)) / 2);
  }
  .head {
    width: 50%;
  }
  .c3 {
    display: none;
  }
  .demo-cards {
    grid-template-columns: minmax(0, 1fr);
  }
  .dcard-admin {
    grid-row: auto;
  }
  .steps {
    grid-template-columns: minmax(0, 1fr);
    padding: 20px;
  }
  .mhead {
    font-size: 26px;
  }
  .menu-card {
    padding: 32px 20px;
  }
  .chair {
    padding: 22px;
  }
  .sig-stage {
    width: 100%;
    height: auto;
  }
  .ticket {
    position: static;
    width: 100%;
  }
  .t-edge {
    padding: 0 20px;
  }
  .t-front {
    padding: 24px 20px 20px;
  }
  .t-back {
    padding: 16px 20px 24px;
  }
  .t-who b {
    font-size: 15px;
    line-height: 20px;
  }
  .t-who small {
    font-size: 14px;
  }
  .t-perf {
    background-position: 20px 11px;
    background-size: calc(100% - 40px) 2px;
  }
  .sig-phone {
    display: none;
  }
  .q {
    font-size: 20px;
  }
  .a {
    font-size: 16px;
  }
  .dl-card {
    padding: 20px;
  }
  .dl-card li {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    background: none;
  }
  .dl-card .n {
    padding-right: 0;
  }
  .chips {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
  }
  .chip-row {
    display: contents;
  }
  .dl-card li em {
    padding-left: 0;
    text-align: left;
  }
  .foot-line {
    flex-wrap: wrap;
  }
  .foot-line small {
    flex-basis: 100%;
    margin-left: 0;
    text-align: left;
  }
}
