/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */
@layer properties;
@layer theme, base, components, utilities;
@layer theme {
  :root, :host {
    --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
      "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
    --color-primary: #1a1a2e;
    --color-bg: #f4efe6;
    --color-bg-paper: #faf7f0;
    --color-accent: #c45d3e;
    --color-accent-hover: #d4694a;
    --color-ink-blue: #3d5a80;
    --color-text: #2a2a2a;
    --color-text-muted: #8a8070;
    --color-ruled-line: rgba(60, 90, 128, 0.08);
    --color-border: rgba(42, 42, 42, 0.1);
    --font-family-display: 'Instrument Serif', serif;
    --font-family-body: 'JetBrains Mono', monospace;
  }
}
@layer base {
  *, ::after, ::before, ::backdrop, ::file-selector-button {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid;
  }
  html, :host {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }
  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }
  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }
  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }
  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }
  b, strong {
    font-weight: bolder;
  }
  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }
  small {
    font-size: 80%;
  }
  sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  sub {
    bottom: -0.25em;
  }
  sup {
    top: -0.5em;
  }
  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }
  :-moz-focusring {
    outline: auto;
  }
  progress {
    vertical-align: baseline;
  }
  summary {
    display: list-item;
  }
  ol, ul, menu {
    list-style: none;
  }
  img, svg, video, canvas, audio, iframe, embed, object {
    display: block;
    vertical-align: middle;
  }
  img, video {
    max-width: 100%;
    height: auto;
  }
  button, input, select, optgroup, textarea, ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    border-radius: 0;
    background-color: transparent;
    opacity: 1;
  }
  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }
  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }
  ::file-selector-button {
    margin-inline-end: 4px;
  }
  ::placeholder {
    opacity: 1;
  }
  @supports (not (-webkit-appearance: -apple-pay-button))  or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentcolor;
      @supports (color: color-mix(in lab, red, red)) {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }
  textarea {
    resize: vertical;
  }
  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }
  ::-webkit-datetime-edit {
    display: inline-flex;
  }
  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }
  ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }
  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }
  :-moz-ui-invalid {
    box-shadow: none;
  }
  button, input:where([type="button"], [type="reset"], [type="submit"]), ::file-selector-button {
    appearance: button;
  }
  ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
    height: auto;
  }
  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}
@layer utilities {
  .visible {
    visibility: visible;
  }
  .relative {
    position: relative;
  }
  .static {
    position: static;
  }
  .container {
    width: 100%;
    @media (width >= 40rem) {
      max-width: 40rem;
    }
    @media (width >= 48rem) {
      max-width: 48rem;
    }
    @media (width >= 64rem) {
      max-width: 64rem;
    }
    @media (width >= 80rem) {
      max-width: 80rem;
    }
    @media (width >= 96rem) {
      max-width: 96rem;
    }
  }
  .transform {
    transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
  }
}
@layer base {
  html {
    scroll-behavior: smooth;
  }
  body {
    font-family: var(--font-family-body);
    background: var(--color-bg);
    color: var(--color-text);
    font-size: 0.875rem;
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
  }
  body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.3;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
  }
  h1, h2, h3, h4 {
    font-family: var(--font-family-display);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.05;
    color: var(--color-primary);
  }
  h1 {
    font-size: clamp(3.5rem, 10vw, 7.5rem);
  }
  h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
  }
  h3 {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
  }
  p {
    color: var(--color-text-muted);
  }
  input[type="email"] {
    font-size: 1rem;
  }
}
@layer components {
  .container {
    width: clamp(320px, 85%, 1400px);
    margin: 0 auto;
  }
  .btn {
    font-family: var(--font-family-body);
    font-size: 0.75rem;
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ease-out);
  }
  .btn-accent {
    background: var(--color-accent);
    color: #fff;
  }
  .btn-accent:hover {
    background: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(196, 93, 62, 0.25);
  }
  .btn-accent:active {
    transform: translateY(0);
  }
  nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.4s, backdrop-filter 0.4s, box-shadow 0.4s;
    opacity: 0;
    animation: fadeUp 0.5s 0.1s var(--ease-out) forwards;
  }
  nav.scrolled {
    background: rgba(244, 239, 230, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 var(--color-border);
  }
  .logo {
    font-family: var(--font-family-display);
    font-size: 1.4rem;
    color: var(--color-primary);
    text-decoration: none;
  }
  .logo span {
    color: var(--color-accent);
  }
  .hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 7rem 0 5rem;
    overflow: hidden;
  }
  .ink-drop {
    position: absolute;
    border-radius: 50%;
    background: var(--color-ink-blue);
    opacity: 0.04;
    pointer-events: none;
  }
  .ink-drop-1 {
    width: 400px;
    height: 400px;
    top: -5%;
    right: 10%;
  }
  .ink-drop-2 {
    width: 250px;
    height: 250px;
    bottom: 10%;
    left: -3%;
  }
  .ink-drop-3 {
    width: 180px;
    height: 180px;
    top: 40%;
    left: 55%;
    opacity: 0.03;
  }
  .hero .container {
    display: flex;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 1;
  }
  .hero-content {
    flex: 1;
  }
  .hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .hero-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-accent);
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeUp 0.6s 0.1s var(--ease-out) forwards;
  }
  .hero-label::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-accent);
    animation: blink 2s ease-in-out infinite;
  }
  .hero h1 {
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeUp 0.6s 0.2s var(--ease-out) forwards;
  }
  .hero h1 em {
    font-style: italic;
    position: relative;
    padding-right: 0.15em;
  }
  .hero h1 em::after {
    content: '';
    position: absolute;
    bottom: 0.05em;
    left: -2%;
    width: 104%;
    height: 0.12em;
    background: var(--color-accent);
    border-radius: 2px;
    transform-origin: left;
    transform: scaleX(0);
    animation: drawUnderline 0.8s 0.7s var(--ease-out) forwards;
  }
  .hero-sub {
    font-size: 0.9rem;
    line-height: 1.85;
    margin-bottom: 2.5rem;
    max-width: 480px;
    opacity: 0;
    animation: fadeUp 0.6s 0.3s var(--ease-out) forwards;
  }
  .hero-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
    min-width: 0;
    opacity: 0;
    animation: fadeUp 0.6s 0.4s var(--ease-out) forwards;
  }
  .waitlist-form {
    display: flex;
    gap: 0.6rem;
  }
  .hero-actions .waitlist-form {
    flex: 1;
    min-width: 0;
  }
  .waitlist-form input[type="email"] {
    flex: 1;
    min-width: 0;
    padding: 0.8rem 1.1rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-family: var(--font-family-body);
    font-size: 0.8rem;
    background: var(--color-bg-paper);
    color: var(--color-text);
    transition: border-color 0.3s, box-shadow 0.3s;
    outline: none;
  }
  .waitlist-form input[type="email"]::placeholder {
    color: var(--color-text-muted);
  }
  .waitlist-form input[type="email"]:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(196, 93, 62, 0.1);
  }
  .btn-demo-link {
    font-family: var(--font-family-body);
    font-size: 0.8rem;
    color: var(--color-text-muted);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.3s;
  }
  .btn-demo-link:hover {
    color: var(--color-accent);
  }
  .social-proof {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.7rem;
    color: var(--color-text-muted);
    opacity: 0;
    animation: fadeUp 0.6s 0.5s var(--ease-out) forwards;
  }
  .avatar-stack {
    display: flex;
  }
  .avatar-stack span {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 2px solid var(--color-bg);
    margin-left: -7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    font-family: var(--font-family-display);
  }
  .avatar-stack span:first-child {
    margin-left: 0;
  }
  .avatar-stack span:nth-child(1) {
    background: #e8d5c4;
    color: #8b6e56;
  }
  .avatar-stack span:nth-child(2) {
    background: #c4cfe0;
    color: #3d5a80;
  }
  .avatar-stack span:nth-child(3) {
    background: #f0d4c0;
    color: #9b7740;
  }
  .avatar-stack span:nth-child(4) {
    background: #d4c4b0;
    color: #6b5b4a;
  }
  .flashcard-wrapper {
    animation: cardFloat 5s ease-in-out infinite;
  }
  .flashcard {
    width: clamp(280px, 22vw, 380px);
    height: clamp(190px, 15vw, 250px);
    perspective: 1000px;
    cursor: pointer;
    opacity: 0;
    animation: fadeSlideLeft 0.7s 0.6s var(--ease-out) forwards;
  }
  .flashcard-inner {
    width: 100%;
    height: 100%;
    transition: transform 0.7s var(--ease-out);
    transform-style: preserve-3d;
    position: relative;
  }
  .flashcard.flipped .flashcard-inner {
    transform: rotateY(180deg);
  }
  .flashcard-face {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .flashcard-front {
    background: var(--color-bg-paper);
    border: 1px solid var(--color-border);
    box-shadow: 0 20px 50px rgba(42, 42, 42, 0.07), 0 0 0 1px rgba(42, 42, 42, 0.02);
    background-image: repeating-linear-gradient( transparent, transparent 27px, var(--color-ruled-line) 27px, var(--color-ruled-line) 28px );
    background-position: 0 1.5rem;
  }
  .flashcard-front::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 24px;
    height: 24px;
    background: linear-gradient(225deg, var(--color-bg) 50%, rgba(0,0,0,0.04) 50%);
  }
  .flashcard-back {
    background: var(--color-primary);
    color: #fff;
    transform: rotateY(180deg);
    border-radius: 12px;
  }
  .flashcard-tag {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.45;
  }
  .flashcard-text {
    font-family: var(--font-family-display);
    font-size: 1.05rem;
    line-height: 1.4;
    color: var(--color-text);
  }
  .flashcard-back .flashcard-text {
    color: #fff;
  }
  .flashcard-hint {
    font-size: 0.6rem;
    opacity: 0.35;
  }
  .section-label {
    font-family: var(--font-family-body);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-accent);
    margin-bottom: 1rem;
  }
  .section-header {
    margin-bottom: 3.5rem;
  }
  .torn-edge {
    position: relative;
  }
  .torn-edge::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    height: 20px;
    background: var(--color-bg-paper);
    clip-path: polygon( 0% 100%, 2% 60%, 5% 80%, 8% 50%, 12% 75%, 15% 40%, 18% 70%, 22% 55%, 25% 85%, 28% 45%, 32% 65%, 35% 30%, 38% 60%, 42% 50%, 45% 80%, 48% 35%, 52% 70%, 55% 45%, 58% 75%, 62% 40%, 65% 65%, 68% 55%, 72% 80%, 75% 35%, 78% 60%, 82% 50%, 85% 75%, 88% 40%, 92% 70%, 95% 55%, 98% 80%, 100% 100% );
    z-index: 1;
  }
  .features {
    background: var(--color-bg-paper);
    padding: 8rem 0 6rem;
    position: relative;
  }
  .features .section-header {
    margin-bottom: 3rem;
  }
  .feature-showcase {
    display: flex;
    align-items: center;
    gap: 3rem;
    background: var(--color-bg);
    border-radius: 16px;
    padding: 2.5rem 3rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--color-border);
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
    background-image: repeating-linear-gradient( transparent, transparent 31px, var(--color-ruled-line) 31px, var(--color-ruled-line) 32px );
    background-color: var(--color-bg);
  }
  .feature-showcase:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 48px rgba(42, 42, 42, 0.06);
  }
  .feature-text {
    flex: 0 0 70%;
  }
  .feature-text .section-label {
    margin-bottom: 0.5rem;
  }
  .feature-text h3 {
    margin-bottom: 0.75rem;
  }
  .feature-text p {
    font-size: 0.85rem;
    line-height: 1.85;
  }
  .feature-visual {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .feature-visual svg {
    width: clamp(80px, 10vw, 140px);
    height: auto;
  }
  .how-it-works {
    padding: 6rem 0;
  }
  .how-it-works .section-header {
    text-align: center;
  }
  .step-indicator {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
  }
  .step-pill {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1.2rem;
    border-radius: 100px;
    font-family: var(--font-family-body);
    font-size: 0.65rem;
    border: 1.5px solid var(--color-border);
    color: var(--color-text-muted);
    transition: all 0.4s var(--ease-out);
  }
  .step-pill.active {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
  }
  .step-pill.done {
    border-color: var(--color-primary);
    color: var(--color-primary);
  }
  .step-pill-num {
    font-family: var(--font-family-display);
    font-size: 0.8rem;
  }
  .demo-stage {
    position: relative;
    height: 380px;
    background: var(--color-bg-paper);
    border-radius: 16px;
    border: 1px solid var(--color-border);
    box-shadow: 0 8px 40px rgba(42, 42, 42, 0.05);
    background-image: repeating-linear-gradient( transparent, transparent 31px, var(--color-ruled-line) 31px, var(--color-ruled-line) 32px );
    background-color: var(--color-bg-paper);
  }
  .demo-step {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.45s;
  }
  .demo-step.active {
    opacity: 1;
    pointer-events: auto;
  }
  .demo-step-1 {
    gap: 3rem;
    padding: 2rem;
  }
  .demo-file {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.25rem 1.75rem;
    background: var(--color-bg-paper);
    border-radius: 12px;
    border: 1px solid var(--color-border);
    box-shadow: 0 4px 20px rgba(42, 42, 42, 0.05);
    cursor: grab;
    user-select: none;
    transition: transform 0.3s, box-shadow 0.3s;
  }
  .demo-file:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(42, 42, 42, 0.08);
  }
  .demo-file:active {
    cursor: grabbing;
    transform: scale(0.96);
  }
  .demo-file svg {
    width: 40px;
    height: 40px;
  }
  .demo-file-name {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--color-text);
    font-family: var(--font-family-body);
  }
  .demo-file-size {
    font-size: 0.6rem;
    color: var(--color-text-muted);
  }
  .demo-dropzone {
    width: 170px;
    height: 170px;
    border: 1.5px dashed var(--color-border);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--color-text-muted);
    font-size: 0.7rem;
    transition: all 0.3s;
  }
  .demo-dropzone svg {
    width: 26px;
    height: 26px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .demo-dropzone.dragover {
    border-color: var(--color-accent);
    background: rgba(196, 93, 62, 0.05);
    color: var(--color-accent);
    transform: scale(1.04);
  }
  .demo-dropzone.absorbed {
    border-style: solid;
    border-color: var(--color-accent);
    background: rgba(196, 93, 62, 0.05);
  }
  .demo-hint {
    text-align: center;
    font-size: 0.6rem;
    color: var(--color-text-muted);
    margin-top: 0.5rem;
    opacity: 0.7;
  }
  .demo-step-2 {
    flex-direction: column;
    gap: 1.5rem;
  }
  .demo-generating {
    display: flex;
    gap: 1rem;
  }
  .demo-gen-card {
    width: 155px;
    padding: 1rem;
    background: var(--color-bg-paper);
    border-radius: 12px;
    border: 1px solid var(--color-border);
    opacity: 0;
    transform: translateY(20px);
    animation: cardDeal 0.45s calc(var(--i) * 0.35s + 0.2s) forwards;
  }
  .gen-label {
    font-size: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    margin-bottom: 0.4rem;
  }
  .gen-text {
    font-family: var(--font-family-display);
    font-size: 0.75rem;
    color: var(--color-text);
    line-height: 1.35;
    opacity: 0;
    animation: genFadeIn 0.3s calc(var(--i) * 0.35s + 0.5s) forwards;
  }
  .demo-status {
    font-size: 0.7rem;
    color: var(--color-accent);
    opacity: 0;
    animation: genFadeIn 0.3s 0.1s forwards;
  }
  .demo-step-3 {
    flex-direction: column;
    gap: 1.25rem;
  }
  .demo-cards {
    position: relative;
    width: 320px;
    height: 200px;
    perspective: 1000px;
    margin-bottom: 28px;
  }
  .demo-card {
    position: absolute;
    inset: 0;
    cursor: pointer;
    transition: transform 0.35s, opacity 0.35s;
  }
  .demo-card:nth-child(2) {
    transform: translateY(14px) scale(0.95);
    opacity: 0.6;
    z-index: 1;
  }
  .demo-card:nth-child(3) {
    transform: translateY(28px) scale(0.90);
    opacity: 0.3;
    z-index: 0;
  }
  .demo-card-inner {
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.6s var(--ease-out);
  }
  .demo-card.flipped .demo-card-inner {
    transform: rotateY(180deg);
  }
  .demo-card-face {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .demo-card-front {
    background: var(--color-bg-paper);
    border: 1px solid var(--color-border);
    box-shadow: 0 8px 30px rgba(42, 42, 42, 0.05);
    background-image: repeating-linear-gradient( transparent, transparent 27px, var(--color-ruled-line) 27px, var(--color-ruled-line) 28px );
    background-color: var(--color-bg-paper);
  }
  .demo-card-back {
    background: var(--color-primary);
    color: #fff;
    transform: rotateY(180deg);
    box-shadow: 0 8px 30px rgba(26, 26, 46, 0.2);
  }
  .demo-card-tag {
    font-size: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.45;
  }
  .demo-card-text {
    font-family: var(--font-family-display);
    font-size: 0.9rem;
    line-height: 1.4;
  }
  .demo-card-back .demo-card-text {
    color: #fff;
  }
  .demo-card-hint {
    font-size: 0.55rem;
    opacity: 0.35;
  }
  .demo-cards:empty {
    display: none;
  }
  .demo-actions {
    display: none;
    gap: 0.75rem;
  }
  .demo-actions.show {
    display: flex;
  }
  .demo-actions button {
    font-family: var(--font-family-body);
    font-size: 0.65rem;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
  }
  .btn-again {
    background: rgba(42, 42, 42, 0.06);
    color: var(--color-text-muted);
  }
  .btn-again:hover {
    background: rgba(42, 42, 42, 0.1);
  }
  .btn-got-it {
    background: var(--color-accent);
    color: #fff;
  }
  .btn-got-it:hover {
    background: var(--color-accent-hover);
  }
  .demo-complete {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }
  .demo-complete.show {
    display: flex;
    animation: fadeUp 0.5s forwards;
  }
  .demo-complete span {
    font-family: var(--font-family-display);
    font-size: 1.3rem;
    color: var(--color-primary);
  }
  .demo-complete a {
    font-size: 0.65rem;
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.2s;
  }
  .demo-complete a:hover {
    color: var(--color-accent);
  }
  .cta {
    background: var(--color-bg-paper);
    text-align: center;
    padding: 6rem 0;
    position: relative;
  }
  .cta .container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
  }
  .cta .waitlist-form {
    justify-content: center;
    flex: none;
  }
  .cta .waitlist-form input[type="email"] {
    flex: none;
    width: 22em;
  }
  .cta-note {
    font-size: 0.7rem;
    color: var(--color-text-muted);
    margin-top: 0.5rem;
  }
  .form-success {
    display: none;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-accent);
    font-size: 0.8rem;
  }
  .form-success.show {
    display: flex;
    animation: fadeUp 0.5s forwards;
    margin-bottom: 1.5rem;
  }
  .form-success svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }
  footer {
    padding: 3rem 2rem;
    text-align: center;
    font-size: 0.7rem;
    color: var(--color-text-muted);
    border-top: 1px solid var(--color-border);
  }
  .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
  }
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }
}
@layer utilities {
  @keyframes fadeUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  @keyframes fadeSlideLeft {
    from {
      opacity: 0;
      transform: translateX(40px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  @keyframes blink {
    0%, 100% {
      opacity: 1;
    }
    50% {
      opacity: 0.3;
    }
  }
  @keyframes drawUnderline {
    from {
      transform: scaleX(0);
    }
    to {
      transform: scaleX(1);
    }
  }
  @keyframes cardFloat {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-8px);
    }
  }
  @keyframes cardDeal {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  @keyframes genFadeIn {
    to {
      opacity: 1;
    }
  }
  @keyframes fileAbsorb {
    40% {
      transform: scale(0.85);
      opacity: 0.6;
    }
    100% {
      transform: scale(0) translateY(10px);
      opacity: 0;
    }
  }
  @keyframes cardFlyOut {
    to {
      transform: translateX(120%) rotate(8deg);
      opacity: 0;
    }
  }
  @keyframes sparkleBurst {
    0% {
      opacity: 1;
      transform: scale(0);
    }
    100% {
      opacity: 0;
      transform: scale(1.5) translate(var(--tx), var(--ty));
    }
  }
  .demo-file.flying {
    animation: fileAbsorb 0.55s ease-in forwards;
    pointer-events: none;
  }
  .demo-card.dismissed {
    animation: cardFlyOut 0.35s ease-in forwards;
  }
  .sparkle-particle {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    pointer-events: none;
    animation: sparkleBurst 0.7s ease-out forwards;
  }
  @keyframes sparkleFloat {
    0%, 100% {
      opacity: 0.15;
      transform: scale(0.5);
    }
    50% {
      opacity: 1;
      transform: scale(1.25);
    }
  }
  @keyframes gentleFloat {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-5px);
    }
  }
  .sparkle-anim {
    animation: gentleFloat 4s ease-in-out infinite;
  }
  .sparkle-anim .sparkle {
    animation: sparkleFloat 3s ease-in-out infinite;
    transform-origin: center;
  }
  .sparkle-anim .sparkle:nth-child(2) {
    animation-delay: 0.5s;
  }
  .sparkle-anim .sparkle:nth-child(3) {
    animation-delay: 1.0s;
  }
  .sparkle-anim .sparkle:nth-child(4) {
    animation-delay: 1.5s;
  }
  .sparkle-anim .sparkle:nth-child(5) {
    animation-delay: 2.0s;
  }
  .sparkle-anim .pen {
    animation: penWrite 4s ease-in-out infinite;
  }
  @keyframes penWrite {
    0%, 100% {
      transform: translate(0, 0) rotate(0deg);
    }
    25% {
      transform: translate(8px, 0) rotate(2deg);
    }
    50% {
      transform: translate(0, 8px) rotate(0deg);
    }
    75% {
      transform: translate(8px, 8px) rotate(2deg);
    }
  }
  .sparkle-anim .writing-line {
    stroke-dasharray: 30;
    stroke-dashoffset: 30;
    animation: lineReveal 4s ease-in-out infinite;
  }
  .sparkle-anim .writing-line:nth-child(2) {
    animation-delay: 1s;
  }
  .sparkle-anim .writing-line:nth-child(3) {
    animation-delay: 2s;
  }
  .sparkle-anim .writing-line:nth-child(4) {
    animation-delay: 3s;
  }
  @keyframes lineReveal {
    0%, 20% {
      stroke-dashoffset: 30;
    }
    40%, 100% {
      stroke-dashoffset: 0;
    }
  }
  .book-anim {
    animation: gentleFloat 5s ease-in-out infinite;
  }
  .book-anim .timer-arc {
    stroke-dasharray: 88;
    stroke-dashoffset: 88;
    animation: timerFill 6s ease-in-out infinite;
    transform-origin: center;
  }
  @keyframes timerFill {
    0% {
      stroke-dashoffset: 88;
    }
    30% {
      stroke-dashoffset: 0;
    }
    38%, 100% {
      stroke-dashoffset: 88;
    }
  }
  .book-anim .page {
    transform-origin: left center;
    animation: pageFlip 6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  }
  @keyframes pageFlip {
    0%, 28% {
      transform: scaleX(1) skewY(0deg);
    }
    33% {
      transform: scaleX(0.7) skewY(-4deg);
    }
    38% {
      transform: scaleX(0.3) skewY(-8deg);
    }
    43% {
      transform: scaleX(0) skewY(-6deg);
    }
    48% {
      transform: scaleX(-0.3) skewY(-4deg);
    }
    53% {
      transform: scaleX(-0.7) skewY(-2deg);
    }
    58%, 100% {
      transform: scaleX(-1) skewY(0deg);
    }
  }
  .book-anim .timer-hand {
    transform-origin: 83px 28px;
    animation: timerHandSpin 6s linear infinite;
  }
  @keyframes timerHandSpin {
    0% {
      transform: rotate(0deg);
    }
    30% {
      transform: rotate(360deg);
    }
    38%, 100% {
      transform: rotate(360deg);
    }
  }
  .trophy-anim {
    animation: gentleFloat 4s ease-in-out infinite;
  }
  .trophy-anim .star {
    transform-origin: center;
    animation: starPulse 2s ease-in-out infinite;
  }
  @keyframes starPulse {
    0%, 100% {
      opacity: 0.4;
      transform: scale(0.92);
    }
    50% {
      opacity: 1;
      transform: scale(1.1);
    }
  }
  .trophy-anim .sparkle {
    animation: sparkleFloat 3s ease-in-out infinite;
    transform-origin: center;
  }
  .trophy-anim .sparkle:nth-child(2) {
    animation-delay: 0.7s;
  }
  .trophy-anim .sparkle:nth-child(3) {
    animation-delay: 1.4s;
  }
  .trophy-anim .sparkle:nth-child(4) {
    animation-delay: 2.1s;
  }
}
@media (max-width: 960px) {
  .hero .container {
    flex-direction: column;
    gap: 2.5rem;
  }
  .hero-content {
    flex: none;
    max-width: 100%;
  }
  .hero-visual {
    display: none;
  }
  .feature-showcase {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.75rem;
    gap: 1.5rem;
  }
  .feature-text p {
    margin: 0 auto;
  }
  .feature-visual {
    flex: none;
    display: flex;
    justify-content: center;
  }
  .feature-visual svg {
    width: 100px;
    height: auto;
  }
  .demo-stage {
    height: auto;
    min-height: 430px;
  }
  .demo-step {
    position: relative;
    inset: auto;
    padding: 2rem 1.5rem;
    display: none;
    min-height: 430px;
  }
  .demo-step.active {
    display: flex;
  }
  .demo-step-1 {
    flex-direction: column;
    gap: 1.5rem;
  }
  .demo-generating {
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
  }
  .demo-gen-card {
    width: 170px;
  }
  .demo-gen-card:nth-child(1) {
    margin-left: 60px;
  }
  .demo-gen-card:nth-child(2) {
    margin-right: 60px;
  }
  .demo-gen-card:nth-child(3) {
    margin-left: 60px;
  }
  .demo-cards {
    width: 280px;
    height: 180px;
  }
  nav, .hero-label, .hero h1, .hero-sub, .hero-actions, .social-proof {
    opacity: 1;
    animation: none;
  }
  .hero h1 em::after {
    animation: drawUnderline 0.8s 0.2s var(--ease-out) forwards;
  }
}
@media (max-width: 600px) {
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .waitlist-form {
    flex-direction: column;
    width: 100%;
  }
  .container {
    padding: 0 1.25rem;
  }
  nav {
    padding: 1rem 1.25rem;
  }
  .social-proof {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .cta .waitlist-form {
    flex-direction: column;
    width: 100%;
  }
  .cta .waitlist-form input[type="email"] {
    width: 100%;
  }
}
@property --tw-rotate-x {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-y {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-z {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-x {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-y {
  syntax: "*";
  inherits: false;
}
@layer properties {
  @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
    *, ::before, ::after, ::backdrop {
      --tw-rotate-x: initial;
      --tw-rotate-y: initial;
      --tw-rotate-z: initial;
      --tw-skew-x: initial;
      --tw-skew-y: initial;
    }
  }
}
