@font-face {
  font-family: "EB Garamond";
  src: url("/fonts/eb-garamond.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}
:root {
  color-scheme: light dark;
  --paper: light-dark(#f7f1e3, #24231f);
  --ink: light-dark(#38362e, #f0e6d2);
  --sub: light-dark(#605c50, #c4bba7);
  --rule: light-dark(#797062, #99917e);
  --surface: light-dark(#ece4d4, #34312b);
  --focus: var(--ink);
  --rod-green: #b5decc;
  --text-small: 0.875rem;
  --text-body: 1.125rem;
  --text-ui: 1.5rem;
  --text-heading: 2rem;
  --text-display: 5rem;
  font: 100%/1.5 "EB Garamond", Garamond, Georgia, serif;
  /* font: 100%/1.4 "Helvetica Neue", Helvetica, Arial, sans-serif; */
  /* font: 100%/1.4 ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas,
    "Liberation Mono", monospace; */
  color: var(--ink);
  background: var(--paper);
}
:root:has(meta[name="color-scheme"][content="light"]) {
  color-scheme: light;
}
:root:has(meta[name="color-scheme"][content="dark"]) {
  color-scheme: dark;
}
@supports not (color: light-dark(white, black)) {
  :root {
    --paper: Canvas;
    --ink: CanvasText;
    --sub: CanvasText;
    --rule: ButtonBorder;
    --surface: ButtonFace;
  }
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
body,
figure,
h1,
h2,
h3,
dl,
dd,
p {
  margin: 0;
}
body {
  font-size: var(--text-body);
}
button,
input {
  font: inherit;
  border-radius: 0;
}
button,
a {
  color: inherit;
}
button {
  cursor: pointer;
}
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}
.shell {
  max-width: 112rem;
  margin: 0 auto;
  padding: 0 clamp(1.1rem, 3.8vw, 4.6rem) clamp(1.4rem, 3.25vw, 4rem);
}
header {
  min-height: clamp(3.75rem, 5.6vw, 5.5rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}
.brand,
.brand-name,
h1,
.story-section h2,
.story-section h3,
dialog h2 {
  font-family: "EB Garamond", Garamond, Georgia, serif;
  font-weight: 700;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: var(--text-ui);
  letter-spacing: -0.025em;
  text-decoration: none;
  line-height: 1;
}
.mark {
  width: 1.85rem;
  flex: none;
}
.mark svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
#theme-toggle,
.about-link {
  background: none;
  border: 0;
}
#theme-toggle {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
}
#theme-toggle:hover {
  background: var(--surface);
}
#theme-toggle svg {
  width: 1.3rem;
  height: 1.3rem;
}
#theme-toggle[aria-pressed="true"] svg {
  transform: rotate(180deg);
}
.about-link {
  padding: 0.7rem 0 0.7rem 0.7rem;
  text-underline-offset: 0.3em;
}
.about-link:hover {
  text-decoration: underline;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(0, 1fr);
  gap: clamp(1.8rem, 4vw, 4.75rem);
  align-items: center;
}
.product {
  min-width: 0;
}
#stage {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: clamp(30rem, calc(100svh - 12rem), 55rem);
}
#model-canvas,
#model-poster {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}
#model-canvas {
  touch-action: none;
  cursor: grab;
  outline-offset: -5px;
}
#model-canvas:active {
  cursor: grabbing;
}
#model-poster {
  object-fit: contain;
  pointer-events: none;
}
#stage[data-ready="true"] #model-poster {
  visibility: hidden;
}
#stage:not([data-ready="true"]) #model-canvas {
  opacity: 0;
}
#close-about {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0.62rem;
}
#close-about:hover {
  background: var(--surface);
}
#close-about svg {
  width: 1.27rem;
  height: 1.27rem;
}
.launch {
  min-width: 0;
  padding: 1rem 0 1rem;
  max-width: 32rem;
}
h1 {
  font-size: var(--text-display);
  line-height: 1;
  padding-bottom: 0.28em;
  /* letter-spacing: -0.038em; */
}
.signup {
  margin-top: 1.5rem;
  max-width: 28rem;
}
.signup h2 {
  font-size: var(--text-ui);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 0.7rem;
}
.device-description {
  max-width: 28rem;
  margin-block-start: 0;
  color: var(--sub);
  line-height: 1.5;
}
.device-description p + p {
  margin-block-start: 0.8em;
}
.subtitle {
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.025em;
  font-size: var(--text-ui);
  line-height: 1.15;
}
.product-story {
  max-width: 75rem;
  margin: clamp(3.5rem, 8vw, 8.5rem) auto 0;
}
.story-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.8fr);
  gap: clamp(2rem, 5vw, 5.5rem);
  border-top: 1px solid var(--rule);
  padding-block: clamp(2.25rem, 5vw, 4.75rem);
}
.story-section h2 {
  font-size: var(--text-display);
  line-height: 1;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.story-copy {
  min-width: 0;
  line-height: 1.5;
  color: var(--sub);
}
.story-copy > p {
  max-width: 70ch;
}
.story-copy > p + p,
.story-link {
  margin-block-start: 1em;
}
.story-link {
  display: inline-block;
  color: var(--ink);
  text-underline-offset: 0.22em;
}
.gestures,
.tone-presets {
  margin-block: 1.75rem;
}
.story-copy dt {
  color: var(--ink);
  font-weight: 700;
}
.gestures > div {
  display: grid;
  grid-template-columns: 5ch 1fr;
  gap: clamp(1rem, 2vw, 2rem);
  max-width: 70ch;
}
.gestures > div + div {
  margin-block-start: 1rem;
}
.tone-presets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem clamp(1.25rem, 3vw, 3rem);
}
.tone-presets dd {
  margin-block-start: 0.25rem;
}
.story-section h3 {
  margin-block: 1.75rem 0.4rem;
  font-size: var(--text-heading);
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.input-row {
  display: flex;
  gap: 0.5rem;
}
.input-row input,
.input-row button {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas,
    "Liberation Mono", monospace;
  font-size: var(--text-small);
}
.input-row input {
  border: 0;
  /* border-bottom: 1px solid var(--rule); */
  color: var(--ink);
  background: var(--surface);
  padding: 0.65rem 0.8rem;
  min-width: 0;
  flex: 1;
  border-radius: 0.5rem;
}
.input-row input::placeholder {
  color: var(--sub);
  opacity: 1;
}
.input-row input:disabled {
  opacity: 1;
}
.input-row button {
  flex: none;
  border: 0;
  border-radius: 0.5rem;
  padding: 0.7rem 1.05rem;
  background: var(--rod-green);
  color: #24231f;
  font-weight: 600;
}
.input-row button:hover:enabled {
  background: color-mix(in srgb, var(--rod-green) 82%, black);
}
.input-row button:disabled {
  cursor: default;
}
.signup-errors {
  margin: 0;
  padding: 0;
  list-style: none;
}
.signup-errors:not(:empty) {
  margin-block-end: 0.5rem;
}
.signup .formkit-alert-success {
  color: var(--ink);
}
dialog {
  width: min(31rem, calc(100% - 2rem));
  color: var(--ink);
  background: var(--paper);
  border: 0;
  padding: clamp(1.3rem, 3vw, 2.2rem);
}
dialog::backdrop {
  background: #2e292365;
}
.dialog-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.7rem;
}
.brand-name {
  letter-spacing: -0.025em;
  font-size: var(--text-ui);
}
#close-about {
  border: 1px solid var(--rule);
  background: transparent;
}
dialog h2 {
  font-size: var(--text-heading);
  line-height: 1.15;
  letter-spacing: -0.03em;
}
dialog p {
  margin-top: 1rem;
  color: var(--sub);
  line-height: 1.5;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 48rem) {
  :root {
    --text-display: 3.25rem;
  }
  .shell {
    max-width: 39rem;
  }
  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.7rem;
  }
  .story-section {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.4rem;
  }
  header {
    min-height: 3.75rem;
  }
  .mark {
    width: 1.65rem;
  }
  #stage {
    height: auto;
    aspect-ratio: 0.95;
  }
  .launch {
    padding: 0 0.2rem;
    max-width: 100%;
  }
}
@media (max-width: 32rem) {
  .tone-presets {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 1rem;
  }
}
@media (max-width: 21rem) {
  .input-row button {
    padding-inline: 0.65rem;
  }
}

#stage[data-ready="false"] #model-status {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  width: auto;
  height: auto;
  clip-path: none;
  margin: 0;
  white-space: normal;
  color: var(--sub);
}
