:root {
  color-scheme: light;
  --page: #fafaf8;
  --ink: #20211f;
  --muted: #5d605a;
  --rule: #deded8;
  --paper: #f1ede5;
  --serif: Georgia, 'Times New Roman', serif;
  font-family: Inter, 'Segoe UI', Arial, sans-serif;
  color: var(--ink);
  background: var(--page);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body,
h1,
h2,
h3,
p {
  margin: 0;
}
body {
  min-width: 280px;
}
button,
textarea {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
a:focus-visible,
button:focus-visible,
textarea:focus-visible {
  outline: 2px solid #245bb5;
  outline-offset: 4px;
}
.shell {
  width: min(100% - 6rem, 76rem);
  margin-inline: auto;
}
.topbar {
  height: 4.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
  font-size: 1.69rem;
  font-weight: 680;
  line-height: 1;
  letter-spacing: -0.082em;
}
.top-actions,
.foot-actions {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}
.text-link {
  color: var(--muted);
  font-size: 0.89rem;
  font-weight: 490;
  white-space: nowrap;
}
.text-link:hover,
.demo-link:hover {
  text-decoration: underline;
  text-underline-offset: 0.23em;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.6rem;
  padding: 0.6rem 1.05rem 0.63rem;
  border: 1px solid var(--ink);
  border-radius: 2rem;
  background: var(--ink);
  color: white;
  font-size: 0.91rem;
  font-weight: 550;
  line-height: 1.1;
  white-space: nowrap;
  transition:
    background-color 0.17s ease,
    border-color 0.17s ease;
}
.button:hover {
  background: #3d403b;
  border-color: #3d403b;
}
.login {
  min-height: 2.3rem;
  padding-inline: 1rem;
}
.hero {
  margin: clamp(2.6rem, 5vw, 4.4rem) auto 2.65rem;
  text-align: center;
}
h1 {
  font-size: clamp(3.3rem, 5.25vw, 4.75rem);
  font-weight: 510;
  line-height: 1.065;
  letter-spacing: -0.074em;
  text-wrap: balance;
}
.intro {
  margin: 0.96rem auto 1.7rem;
  max-width: 38rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.16vw, 1.12rem);
  line-height: 1.52;
  text-wrap: balance;
}
.prompt {
  width: min(100%, 42.5rem);
  margin: 0 auto;
  padding: 1.1rem 1.16rem 0.76rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.56rem 0.85rem;
  text-align: left;
  background: #fff;
  border: 1px solid #d2d3cd;
  border-radius: 1.12rem;
}
.prompt:focus-within {
  border-color: #858980;
}
.prompt-label {
  grid-column: 1;
  grid-row: 2;
  align-self: center;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 520;
  line-height: 1.4;
}
.prompt textarea {
  width: 100%;
  min-height: 3.15rem;
  resize: vertical;
  border: 0;
  grid-column: 1/-1;
  grid-row: 1;
  padding: 0 0.15rem 0 0;
  background: transparent;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.5;
}
.prompt textarea:focus {
  outline: none;
}
.prompt:has(textarea:focus-visible) {
  outline: 2px solid #245bb5;
  outline-offset: 2px;
}
.prompt button {
  justify-self: end;
  grid-column: 2;
  grid-row: 2;
}
.sample {
  width: min(100% - 6rem, 67rem);
  margin-inline: auto;
  border: 1px solid #d9dad3;
  border-radius: 0.98rem;
  background: #fff;
  overflow: hidden;
  scroll-margin-top: 1rem;
}
.sample-bar {
  min-height: 2.84rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.7rem;
  align-items: center;
  padding: 0.45rem 1.1rem;
  background: #fff;
  border-bottom: 1px solid #dcdcd4;
}
.window-dots {
  display: flex;
  gap: 0.28rem;
}
.window-dots i {
  width: 0.42rem;
  height: 0.42rem;
  background: #d7d8d1;
  border-radius: 50%;
}
.sample-label {
  color: #585b54;
  font-size: 0.79rem;
}
.demo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  justify-self: end;
  font-size: 0.84rem;
  font-weight: 555;
  white-space: nowrap;
  line-height: 1.6;
}
.demo-link svg {
  width: 0.85rem;
  height: 0.85rem;
}
.studio {
  background: var(--paper);
  color: #30291f;
}
.studio-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3.3rem;
  margin-inline: 4.2%;
  border-bottom: 1px solid #d5cec0;
}
.studio-brand {
  font-family: var(--serif);
  font-size: 1.25rem;
  letter-spacing: -0.045em;
}
.studio-nav {
  display: flex;
  gap: 1.3rem;
  font-size: 0.8rem;
  color: #504637;
}
.studio-nav a:hover {
  text-decoration: underline;
}
.studio-hero {
  display: grid;
  grid-template-columns: 44% minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
  padding: 2.1rem 4.2% 2.25rem;
}
.studio-copy {
  align-self: center;
  padding-right: 9%;
}
.studio h2 {
  font-family: var(--serif);
  font-size: clamp(2.35rem, 4.75vw, 4.55rem);
  font-weight: 400;
  line-height: 0.99;
  letter-spacing: -0.064em;
  text-wrap: balance;
}
.studio-copy p {
  max-width: 18.8rem;
  font-size: 1rem;
  line-height: 1.48;
  margin: 1.16rem 0 1.5rem;
  color: #554b3c;
}
.studio-cta {
  display: inline-flex;
  align-items: center;
  min-height: 2.4rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid #71634e;
  border-radius: 0.35rem;
  color: #342c21;
  font-size: 0.85rem;
  font-weight: 520;
}
.studio-cta:hover {
  background: #e3dbce;
}
.studio-photo {
  position: relative;
  min-width: 0;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 1.95 / 1;
  border-radius: 0.32rem;
  background-color: #b49778;
}
.studio-photo img {
  display: block;
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: 50% 52%;
}
.how {
  width: min(100% - 6rem, 67rem);
  margin: 5.6rem auto 5.4rem;
}
.how h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.9rem);
  font-weight: 515;
  line-height: 1.08;
  letter-spacing: -0.055em;
}
.steps {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.1rem;
}
.step {
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
}
.step h3 {
  font-size: 1.1rem;
  margin-bottom: 0.46rem;
  font-weight: 580;
  letter-spacing: -0.027em;
}
.step p {
  font-size: 0.97rem;
  max-width: 21rem;
  line-height: 1.55;
  color: var(--muted);
}
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.6rem 2.2rem;
  border-top: 1px solid var(--rule);
}
.footer .brand {
  font-size: 1.3rem;
}
@media (min-width: 90rem) {
  .hero {
    margin-top: 4.7rem;
    margin-bottom: 3.2rem;
  }
}
@media (max-width: 55rem) {
  .shell,
  .sample,
  .how {
    width: calc(100% - 3rem);
  }
  .hero {
    margin-top: 2.9rem;
  }
  .sample {
    border-radius: 0.8rem;
  }
  .studio-hero {
    padding-block: 1.65rem;
  }
  .studio-photo {
    aspect-ratio: 1.42 / 1;
  }
  .studio-copy p {
    font-size: 0.9rem;
  }
}
@media (max-width: 37.5rem) {
  .shell,
  .sample,
  .how {
    width: calc(100% - 2.5rem);
  }
  .topbar {
    height: 3.8rem;
  }
  .brand {
    font-size: 1.52rem;
  }
  .top-actions {
    gap: 0.95rem;
  }
  .text-link {
    font-size: 0.81rem;
  }
  .hero {
    margin: 2.45rem auto 1.65rem;
  }
  h1 {
    font-size: clamp(2.38rem, 8.75vw, 2.75rem);
    line-height: 1.07;
    letter-spacing: -0.062em;
  }
  .intro {
    margin: 0.8rem auto 1.25rem;
    font-size: 1rem;
    line-height: 1.43;
  }
  .prompt {
    padding: 0.9rem 0.9rem 0.66rem;
    gap: 0.46rem;
    border-radius: 0.93rem;
  }
  .prompt textarea {
    field-sizing: content;
    min-height: 4.2rem;
    font-size: 1rem;
    line-height: 1.38;
  }
  .prompt button {
    min-height: 2.35rem;
  }
  .sample-bar {
    grid-template-columns: 1fr auto;
    min-height: 2.55rem;
    padding: 0.44rem 0.8rem;
  }
  .window-dots {
    display: none;
  }
  .sample-label,
  .demo-link {
    font-size: 0.76rem;
  }
  .studio-bar {
    margin-inline: 0.95rem;
    min-height: 2.75rem;
  }
  .studio-brand {
    font-size: 1.08rem;
  }
  .studio-nav {
    gap: 0.65rem;
    font-size: 0.7rem;
  }
  .studio-nav a:first-child {
    display: none;
  }
  .studio-hero {
    padding: 1.05rem 0.95rem 1.2rem;
    grid-template-columns: 1fr 42%;
    gap: 0.7rem;
  }
  .studio-copy {
    padding: 0;
  }
  .studio h2 {
    font-size: clamp(1.55rem, 6.35vw, 2.25rem);
    line-height: 1;
    letter-spacing: -0.06em;
  }
  .studio-copy p {
    margin: 0.66rem 0 0.8rem;
    font-size: 0.8rem;
    line-height: 1.34;
  }
  .studio-cta {
    padding: 0.32rem 0.55rem;
    min-height: 1.85rem;
    font-size: 0.73rem;
  }
  .studio-photo {
    min-height: 9.15rem;
    height: 100%;
    aspect-ratio: auto;
  }
  .how {
    margin: 3rem auto;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 1.15rem;
    margin-top: 1.15rem;
  }
  .step {
    padding-top: 0.9rem;
  }
  .step p {
    max-width: 32rem;
  }
  .footer {
    padding-block: 1.2rem;
  }
  .foot-actions {
    gap: 1rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
