:root {
  --brand: #E7762C;
  --ink: #171717;
  --muted: #5f5a54;
  --paper: #fbfbf9;
  --line: #dedede;
  --field: #ffffff;
  --shadow: 0 18px 50px rgba(23, 23, 23, 0.08);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
}

a {
  color: inherit;
}

.page {
  width: min(calc(100% - 40px), 1060px);
  margin: 0 auto;
}

.narrow {
  width: min(calc(100% - 40px), 720px);
}

.hero {
  min-height: 92svh;
  display: flex;
  align-items: center;
  padding: 28px 0 64px;
}

.hero .page {
  display: grid;
  gap: clamp(48px, 10vw, 110px);
}

.wordmark {
  margin: 0;
  font-size: 24px;
  font-weight: 760;
  line-height: 1;
}

.wordmark::after {
  content: "";
  display: inline-block;
  width: 0.38em;
  height: 0.38em;
  margin-left: 0.1em;
  border-radius: 50%;
  background: var(--brand);
  vertical-align: baseline;
}

.hero-copy {
  max-width: 810px;
}

h1,
h2,
p {
  margin-top: 0;
}

h1,
h2 {
  font-weight: 760;
  line-height: 0.98;
}

h1 {
  max-width: 760px;
  margin-bottom: 28px;
  font-size: clamp(54px, 11vw, 96px);
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(36px, 7vw, 64px);
}

.hero-subline {
  max-width: 600px;
  margin-bottom: 36px;
  color: var(--muted);
  font-size: clamp(21px, 3vw, 28px);
  line-height: 1.35;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border: 0;
  border-radius: 8px;
  background: var(--brand);
  color: #fffefd;
  font: inherit;
  font-weight: 720;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
  filter: saturate(1.05);
}

.button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(231, 118, 44, 0.28);
  outline-offset: 3px;
}

.section {
  padding: clamp(72px, 11vw, 132px) 0;
  border-top: 1px solid var(--line);
}

.section-kicker {
  width: fit-content;
  margin-bottom: 28px;
  padding-top: 14px;
  border-top: 2px solid var(--line);
  color: var(--muted);
  font-size: 15px;
  font-weight: 760;
}

.copy-stack {
  display: grid;
  gap: 22px;
}

.copy-stack p,
.about p,
.why-come {
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(19px, 2.4vw, 23px);
  line-height: 1.52;
}

.invitation {
  background: #fffefd;
}

.demos {
  background: #fffefd;
}

.demos-intro {
  max-width: 720px;
}

.demos-intro p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(19px, 2.4vw, 23px);
  line-height: 1.52;
}

.demo-carousel-shell {
  position: relative;
  margin-top: 36px;
}

.demo-carousel {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 2px 0 18px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.demo-carousel::-webkit-scrollbar {
  display: none;
}

.demo-item {
  flex: 0 0 100%;
  margin: 0;
  scroll-snap-align: start;
}

.demo-media {
  position: relative;
  border-radius: 8px;
  cursor: zoom-in;
}

.demo-item video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f2eee8;
  box-shadow: var(--shadow);
  cursor: zoom-in;
  object-fit: cover;
  pointer-events: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.demo-media:hover video {
  border-color: rgba(231, 118, 44, 0.55);
  box-shadow: 0 20px 54px rgba(23, 23, 23, 0.13);
}

.demo-media:focus-visible {
  outline: 3px solid rgba(231, 118, 44, 0.28);
  outline-offset: 3px;
}

.demo-item figcaption {
  display: grid;
  gap: 4px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.45;
}

.demo-item strong {
  color: var(--ink);
}

.demo-nav {
  display: none;
}

.demo-nav[hidden] {
  display: none;
}

.demo-dots {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 4px;
}

.demo-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #d8d2ca;
  cursor: pointer;
  transition: width 160ms ease, background 160ms ease, transform 160ms ease;
}

.demo-dot[aria-current="true"] {
  width: 30px;
  background: var(--brand);
}

.demo-dot:focus-visible {
  outline: 3px solid rgba(231, 118, 44, 0.28);
  outline-offset: 3px;
}

.demo-viewer {
  width: min(calc(100% - 32px), 1120px);
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  cursor: zoom-out;
}

.demo-viewer::backdrop {
  background: rgba(23, 23, 23, 0.76);
}

.demo-viewer-inner {
  position: relative;
  cursor: auto;
}

.demo-viewer-video {
  width: 100%;
  max-height: calc(100svh - 80px);
  display: block;
  border-radius: 8px;
  background: #111;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

.details-grid {
  display: grid;
  gap: 28px;
  margin-top: 38px;
}

.details-grid div {
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.details-grid p {
  margin-bottom: 0;
}

.detail-label {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 760;
}

.why-come {
  margin-top: 34px;
}

.booking-button {
  width: 100%;
  min-height: 68px;
  margin-top: 8px;
  font-size: clamp(20px, 3vw, 25px);
}

.subscribe-block {
  margin-top: 38px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.subscribe-block h3 {
  margin: 0 0 12px;
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 760;
  line-height: 1.05;
}

.subscribe-block > p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(18px, 2.3vw, 21px);
  line-height: 1.5;
}

.subscribe-form {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.field-label {
  color: var(--ink);
  font-size: 15px;
  font-weight: 760;
}

.subscribe-row {
  display: grid;
  gap: 12px;
}

.subscribe-row input {
  width: 100%;
  min-height: 56px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--field);
  color: var(--ink);
  font: inherit;
}

.subscribe-row input::placeholder {
  color: #9a948d;
}

.subscribe-form .button {
  min-height: 56px;
}

.subscribe-form .button:disabled {
  cursor: wait;
  filter: saturate(0.72);
  opacity: 0.72;
  transform: none;
}

.checkbox-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.45;
}

.checkbox-row input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--brand);
}

.form-note,
.form-status {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.form-status {
  min-height: 22px;
  font-weight: 720;
}

.form-status[data-state="success"] {
  color: #2d7145;
}

.form-status[data-state="error"] {
  color: #9c3a16;
}

.about {
  background: #fffefd;
}

.about-layout {
  display: grid;
  gap: 28px;
}

.about-photo {
  width: 168px;
  height: 168px;
  border-radius: 50%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.footer {
  padding: 30px 0 34px;
  border-top: 1px solid var(--line);
}

.footer .page {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  justify-content: space-between;
  color: var(--muted);
  font-size: 15px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
}

.linkedin-link {
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  color: #0A66C2;
  line-height: 1;
}

.linkedin-link:focus-visible {
  outline: 3px solid rgba(231, 118, 44, 0.28);
  outline-offset: 3px;
}

.linkedin-logo {
  width: 24px;
  height: 24px;
  display: block;
}

.linkedin-logo rect {
  fill: currentColor;
}

.linkedin-logo path {
  fill: #fffefd;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.footer p {
  margin: 0;
}

@media (min-width: 760px) {
  .page,
  .narrow {
    width: min(calc(100% - 80px), 1060px);
  }

  .narrow {
    width: min(calc(100% - 80px), 720px);
  }

  .hero {
    min-height: 86svh;
  }

  .details-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 48px;
  }

  .demo-carousel {
    gap: 24px;
  }

  .demo-dots {
    display: none;
  }

  .demo-nav {
    position: absolute;
    top: clamp(180px, 24vw, 260px);
    z-index: 3;
    display: inline-flex;
    width: 56px;
    height: 56px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(23, 23, 23, 0.08);
    border-radius: 50%;
    background: rgba(255, 254, 253, 0.94);
    box-shadow: 0 16px 38px rgba(23, 23, 23, 0.18);
    color: var(--brand);
    cursor: pointer;
    font: inherit;
    font-size: 28px;
    font-weight: 760;
    line-height: 1;
    transform: translateY(-50%);
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
  }

  .demo-nav[hidden] {
    display: none;
  }

  .demo-nav-prev {
    left: 18px;
  }

  .demo-nav-next {
    right: 18px;
  }

  .demo-nav:hover {
    background: #fffefd;
    box-shadow: 0 18px 44px rgba(23, 23, 23, 0.22);
  }

  .demo-nav-prev:hover {
    transform: translate(-2px, -50%);
  }

  .demo-nav-next:hover {
    transform: translate(2px, -50%);
  }

  .demo-nav:focus-visible {
    outline: 3px solid rgba(231, 118, 44, 0.28);
    outline-offset: 3px;
  }

  .demo-item {
    flex-basis: min(84vw, 920px);
  }

  .subscribe-row {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: stretch;
  }

  .subscribe-form .button {
    min-width: 150px;
  }

  .about-layout {
    grid-template-columns: 178px minmax(0, 1fr);
    align-items: start;
    gap: 40px;
  }

  .about-photo {
    width: 178px;
    height: 178px;
  }
}

@media (max-width: 640px) {
  .hero-subline {
    max-width: 31ch;
    font-size: 20px;
  }

  .demo-viewer {
    width: calc(100% - 20px);
  }

  .demo-viewer-video {
    max-height: calc(100svh - 64px);
  }

}

@media (max-width: 430px) {
  .page,
  .narrow {
    width: min(calc(100% - 30px), 1060px);
  }

  h1 {
    font-size: clamp(46px, 14vw, 58px);
  }

  .button {
    width: 100%;
  }
}
