@font-face {
  font-family: 'Source Serif 4';
  src: url('/assets/fonts/serif-regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Source Serif 4';
  src: url('/assets/fonts/serif-semibold.ttf') format('truetype');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Source Sans 3';
  src: url('/assets/fonts/sans-regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Source Sans 3';
  src: url('/assets/fonts/sans-semibold.ttf') format('truetype');
  font-weight: 600;
  font-display: swap;
}
:root {
  color-scheme: light dark;
  --bg: #f8f4ea;
  --surface: #fffcf5;
  --muted: #f0eadf;
  --text: #27251f;
  --secondary: #655f55;
  --divider: #d9d1c3;
  --border: #8a8071;
  --accent: #bc3f2e;
  --accent-text: #a73426;
  --on-accent: #fffcf5;
  --tint: #f6e2d9;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 2rem;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font:
    1.125rem/1.6 'Source Sans 3',
    sans-serif;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: var(--accent-text);
  text-underline-offset: 0.2em;
}
a:hover {
  text-decoration-thickness: 2px;
}
a,
button,
input,
textarea,
summary {
  -webkit-tap-highlight-color: transparent;
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}
button,
input,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
}
h1,
h2,
h3,
.brand,
.footer-brand {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 600;
}
h1,
h2,
h3 {
  line-height: 1.16;
  margin: 0 0 1.25rem;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.6rem, 4.8vw, 4.5rem);
  letter-spacing: -0.035em;
}
h2 {
  font-size: clamp(1.9rem, 3vw, 2.65rem);
  letter-spacing: -0.025em;
}
h3 {
  font-size: 1.5rem;
  line-height: 1.3;
}
p {
  margin: 0 0 1.2rem;
}
.wrap {
  width: min(1160px, calc(100% - 96px));
  margin-inline: auto;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-block: 1.5rem;
  border-bottom: 1px solid var(--divider);
}
.brand {
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.35rem;
  line-height: 1.2;
}
.brand img {
  flex: none;
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.site-header nav a {
  color: var(--secondary);
  font-size: 1rem;
  text-decoration: none;
  padding-block: 0.8rem;
}
.site-header nav a[aria-current='page'],
.site-header nav a:hover {
  color: var(--accent-text);
  text-decoration: underline;
}
.skip {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--surface);
  padding: 12px;
  z-index: 2;
}
.skip:focus {
  top: 12px;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  align-items: center;
  gap: 5rem;
  padding-block: 4.5rem;
}
.hero-text {
  max-width: 710px;
}
.eyebrow {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-text);
  margin-bottom: 1.25rem;
}
.lede {
  font-size: 1.4rem;
  line-height: 1.45;
  max-width: 42rem;
}
.hero-text > p:not(.eyebrow):not(.lede) {
  max-width: 35rem;
}
.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-block: 1.8rem;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.8rem 1.25rem;
  border: 1px solid var(--accent);
  border-radius: 12px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
  text-decoration: none;
  line-height: 1.3;
  text-align: center;
}
.button:hover {
  filter: brightness(0.95);
}
.button.secondary {
  background: var(--surface);
  color: var(--accent-text);
  border-color: var(--border);
}
.text-link {
  font-weight: 600;
  padding-block: 0.8rem;
}
.small {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--secondary);
}
.release-note {
  border-left: 2px solid var(--divider);
  padding-left: 1rem;
}
figure {
  margin: 0;
}
.phone-shot img {
  width: 290px;
  border: 1px solid var(--border);
  border-radius: 28px;
}
figcaption {
  color: var(--secondary);
  font-size: 0.9rem;
  margin-top: 1rem;
  text-align: center;
}
.section {
  border-top: 1px solid var(--divider);
  padding-block: 4rem;
}
.section-heading {
  max-width: 680px;
  margin-bottom: 2rem;
}
.workflow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3rem;
  list-style: none;
  padding: 0;
  margin: 2.5rem 0 0;
}
.step-label {
  display: block;
  color: var(--accent-text);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.workflow p {
  color: var(--secondary);
  margin: 0;
}
.details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
}
.features {
  margin: 0;
}
.features > div {
  padding-block: 1.25rem;
  border-bottom: 1px solid var(--divider);
}
.features > div:first-child {
  padding-top: 0;
}
dt {
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}
dd {
  margin: 0;
  color: var(--secondary);
}
.tablet-section {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 5rem;
  align-items: center;
}
.tablet-shot {
  width: 100%;
}
.tablet-shot img {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 16px;
}
.next-step {
  display: flex;
  gap: 3rem;
  align-items: center;
  justify-content: space-between;
}
.next-step > div {
  max-width: 660px;
}
.next-step .button {
  flex: none;
}
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  border-top: 1px solid var(--divider);
  padding-block: 2.5rem;
  margin-top: 2rem;
}
.footer-brand {
  color: var(--text);
  text-decoration: none;
  font-size: 1.15rem;
}
.site-footer p {
  font-size: 0.9rem;
  color: var(--secondary);
  margin: 0.5rem 0 0;
}
.site-footer nav {
  font-size: 1rem;
  gap: 1.25rem;
  align-content: start;
}
.page-heading {
  padding-block: 4rem 3rem;
}
.page-heading > p {
  max-width: 700px;
}
.prose {
  max-width: 780px;
  padding-bottom: 3rem;
}
.prose h2 {
  font-size: 1.8rem;
  margin-top: 2.5rem;
}
.prose li {
  margin-bottom: 0.6rem;
}
.about-photo {
  margin-bottom: 2.5rem;
}
.about-photo img {
  width: 100%;
  border-radius: 16px;
}
.policy {
  padding-top: 4rem;
}
.guide-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 4rem;
  padding-bottom: 3rem;
}
.guide-aside nav {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  border-top: 1px solid var(--divider);
  padding-top: 1.5rem;
  margin-bottom: 1.5rem;
}
.guide-aside a {
  color: var(--secondary);
  font-size: 1rem;
}
.guide-content {
  min-width: 0;
}
.guide-content h2 {
  font-size: 2rem;
}
.endpoint {
  padding: 1.75rem;
  background: var(--muted);
  border-radius: 12px;
}
.copy-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}
code {
  font:
    0.95rem/1.6 ui-monospace,
    monospace;
  overflow-wrap: anywhere;
}
.copy-button {
  font-size: 1rem;
}
#copy-status:empty {
  display: none;
}
#copy-status {
  margin: 0.75rem 0 0;
}
.guide-section {
  padding-top: 3rem;
  margin-top: 3rem;
  border-top: 1px solid var(--divider);
}
.instructions {
  padding-left: 1.5rem;
}
.instructions li {
  padding-left: 0.5rem;
  margin-bottom: 1.3rem;
}
.instructions li::marker {
  color: var(--accent-text);
  font-weight: 600;
}
.note {
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--accent);
  background: var(--tint);
  margin-bottom: 1.5rem;
}
.note p {
  margin: 0;
}
blockquote {
  margin: 1.5rem 0;
  padding: 1.5rem;
  border-left: 3px solid var(--accent);
  background: var(--surface);
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.2rem;
}
blockquote + button {
  margin-bottom: 1.5rem;
}
details {
  border-bottom: 1px solid var(--divider);
  padding-block: 1rem;
}
summary {
  font-weight: 600;
  min-height: 32px;
  cursor: pointer;
}
details p {
  margin: 1rem 0 0.5rem;
}
.guide-section > details:last-of-type {
  margin-bottom: 1.5rem;
}
.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  padding-bottom: 4rem;
}
.support-grid h2 {
  font-size: 1.8rem;
}
form {
  background: var(--surface);
  border: 1px solid var(--divider);
  border-radius: 12px;
  padding: 2rem;
}
label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
input,
textarea {
  display: block;
  width: 100%;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.8rem;
  margin-bottom: 1.5rem;
  min-width: 0;
}
textarea {
  resize: vertical;
}
.trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.form-status {
  margin: 1rem 0 0;
}
.form-status.error {
  color: var(--accent-text);
}
.hero h1 {
  font-size: clamp(2.3rem, 4vw, 3.6rem);
}
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
}
.old-way {
  padding-left: 1.5rem;
  margin: 0;
  color: var(--secondary);
}
.old-way li {
  padding-left: 0.5rem;
  margin-bottom: 0.8rem;
}
.old-way li::marker {
  font-weight: 600;
}
.now {
  border-left: 3px solid var(--accent);
  padding-left: 2rem;
}
.demo-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  gap: 5rem;
  align-items: center;
}
.prompt-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.prompt-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--divider);
  border-left: 4px solid var(--accent);
  border-radius: 12px;
  padding: 1.5rem;
}
.prompt-card h3 {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1.2rem;
  margin: 0 0 0.25rem;
}
.prompt-card .small {
  margin: 0;
}
.prompt-card blockquote {
  flex: 1;
  width: 100%;
  margin: 1rem 0 1.25rem;
  padding: 1rem;
  border: 0;
  border-radius: 8px;
  background: var(--muted);
  font-size: 1.05rem;
  line-height: 1.5;
}
.sub-heading {
  margin-top: 4rem;
}
.demo {
  width: 100%;
  max-width: 520px;
  margin: 1.5rem 0 1.75rem;
}
.demo-section .demo {
  margin: 0;
}
.demo-figure svg {
  display: block;
  width: 100%;
  height: auto;
}
.demo-figure text {
  font-family: 'Source Sans 3', sans-serif;
}
.demo-controls {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.5rem;
}
.demo-caption {
  flex: 1;
  margin: 0;
  font-size: 0.95rem;
  color: var(--secondary);
  text-align: center;
}
.demo-chat .demo-caption {
  text-align: left;
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 12px;
  background: none;
  color: var(--text);
}
.icon-button:hover {
  background: var(--muted);
}
.i {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.demo:not([data-paused]) .i-play,
.demo[data-paused] .i-pause {
  display: none;
}
.demo-steps {
  padding: 0;
  margin: 0.75rem 0 0;
  list-style: none;
  counter-reset: step;
}
.demo-steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 1.5rem 1fr;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  border-radius: 8px;
}
.demo-steps li::before {
  content: counter(step);
  color: var(--accent-text);
  font-weight: 600;
}
.demo.ready .demo-steps li {
  cursor: pointer;
}
.demo-steps li.current {
  background: var(--tint);
}
[data-frame]:not(.current),
.demo-figure .off {
  display: none;
}
.m-window {
  fill: var(--surface);
  stroke: var(--border);
}
.m-bar {
  fill: var(--muted);
}
.m-rule {
  stroke: var(--divider);
}
.m-bar-text {
  fill: var(--secondary);
  font-size: 12px;
  font-weight: 600;
}
.m-h {
  fill: var(--text);
  font-size: 15px;
  font-weight: 600;
}
.m-label {
  fill: var(--secondary);
  font-size: 12px;
  font-weight: 600;
}
.m-text,
.m-value {
  fill: var(--text);
  font-size: 13px;
}
.m-muted {
  fill: var(--secondary);
  font-size: 13px;
}
.m-accent {
  fill: var(--accent-text);
  font-size: 13px;
}
.m-url {
  font-size: 11.5px;
}
.m-field {
  fill: var(--muted);
}
.m-btn {
  fill: var(--surface);
  stroke: var(--border);
}
.m-btn.primary {
  fill: var(--accent);
  stroke: var(--accent);
}
.m-btn-text {
  fill: var(--text);
  font-size: 13px;
  font-weight: 600;
  text-anchor: middle;
}
.m-btn-text.primary {
  fill: var(--on-accent);
}
.m-badge {
  fill: var(--accent-text);
  font-size: 11px;
  font-weight: 600;
  text-anchor: middle;
}
.m-target {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  opacity: 0;
  transition: opacity 0.2s;
}
.m-target.on {
  opacity: 1;
}
.m-radio {
  fill: var(--surface);
  stroke: var(--border);
  stroke-width: 1.5;
}
.m-dot,
.m-track.lit {
  fill: var(--accent);
}
.m-track {
  fill: var(--divider);
}
.m-knob {
  fill: var(--surface);
}
.m-menu,
.m-composer {
  fill: var(--surface);
  stroke: var(--divider);
}
.m-hl,
.m-bubble {
  fill: var(--tint);
}
.m-check {
  fill: none;
  stroke: var(--secondary);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.m-spin {
  fill: none;
  stroke: var(--secondary);
  stroke-width: 2;
  stroke-dasharray: 22 16;
  transform-box: fill-box;
  transform-origin: center;
  animation: spin 0.9s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #211e1a;
    --surface: #2c2822;
    --muted: #373129;
    --text: #f4ede0;
    --secondary: #beb3a3;
    --divider: #4c4439;
    --border: #978978;
    --accent: #ef8c76;
    --accent-text: #ef8c76;
    --on-accent: #211e1a;
    --tint: #45312b;
  }
}
@media (max-width: 1000px) {
  .wrap {
    width: calc(100% - 64px);
  }
  .hero {
    gap: 2.5rem;
    grid-template-columns: minmax(0, 1fr) 250px;
  }
  .phone-shot img {
    width: 250px;
  }
  .workflow {
    gap: 1.5rem;
  }
  .details-grid,
  .tablet-section,
  .support-grid,
  .compare,
  .demo-section {
    gap: 2.5rem;
  }
  .prompt-grid {
    grid-template-columns: 1fr 1fr;
  }
  .tablet-section {
    grid-template-columns: 1fr 320px;
  }
  .guide-layout {
    gap: 2rem;
    grid-template-columns: 180px minmax(0, 1fr);
  }
  .next-step {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}
@media (max-width: 720px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding-block: 1rem;
  }
  .site-header nav {
    gap: 0 1.25rem;
  }
  .site-header nav a {
    font-size: 0.95rem;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-block: 2.5rem;
    gap: 2rem;
  }
  .hero h1 br {
    display: none;
  }
  .phone-shot {
    width: min(280px, 100%);
    margin-inline: auto;
  }
  .phone-shot img {
    width: 100%;
  }
  .workflow,
  .details-grid,
  .tablet-section,
  .support-grid,
  .guide-layout,
  .compare,
  .demo-section,
  .prompt-grid {
    grid-template-columns: 1fr;
  }
  .now {
    padding-left: 1.25rem;
  }
  .sub-heading {
    margin-top: 2.5rem;
  }
  .workflow {
    gap: 2rem;
  }
  .section {
    padding-block: 2.5rem;
  }
  .tablet-shot {
    width: min(400px, 100%);
    margin-inline: auto;
  }
  .site-footer {
    flex-direction: column;
  }
  .page-heading {
    padding-block: 2.5rem 2rem;
  }
  .guide-aside nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
  }
  .guide-aside > p {
    display: none;
  }
  .guide-layout {
    gap: 0.5rem;
  }
  .guide-section {
    margin-top: 2rem;
    padding-top: 2rem;
  }
  .endpoint,
  form {
    padding: 1.25rem;
  }
  .policy {
    padding-top: 2.5rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .m-spin {
    animation: none;
  }
  .m-target {
    transition: none;
  }
}
