:root {
  --cream: #faf9f5;
  --cream-deep: #f2efe7;
  --paper: #ffffff;
  --ink: #141413;
  --muted: #66635e;
  --line: #dedbd2;
  --coral: #d97757;
  --coral-dark: #b95d40;
  --shadow-soft: 0 18px 46px rgba(20, 20, 19, 0.08);
  --shadow-card: 0 10px 24px rgba(20, 20, 19, 0.07);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --shell: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--cream);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgba(217, 119, 87, 0.55);
  outline-offset: 3px;
}

.shell {
  width: min(100% - 32px, var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 10px 16px;
  border-radius: 8px;
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid rgba(20, 20, 19, 0.1);
  background: rgba(250, 249, 245, 0.94);
}

.nav-wrap {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}

.wordmark {
  display: inline-flex;
  min-width: 0;
  min-height: 44px;
  align-items: center;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1rem, 4.5vw, 1.32rem);
  font-weight: 600;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
}

.nav-links > a {
  display: none;
  min-height: 44px;
  align-items: center;
  padding: 8px 7px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-links > a:first-child {
  display: inline-flex;
}

.nav-user:not([hidden]) {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.nav-signin {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 8px 7px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 500;
  transition: transform 180ms ease, opacity 180ms ease;
}

.toast {
  position: fixed;
  z-index: 80;
  left: 50%;
  bottom: 18px;
  width: max-content;
  max-width: calc(100vw - 32px);
  padding: 10px 14px;
  border: 1px solid rgba(250, 249, 245, 0.16);
  border-radius: 999px;
  color: var(--paper);
  background: var(--ink);
  box-shadow: var(--shadow-card);
  font-size: 0.84rem;
  line-height: 1.4;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: transform 180ms ease, opacity 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.eyebrow,
.kicker,
.footer-label {
  margin: 0 0 10px;
  color: var(--coral-dark);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.35;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.06;
}

h1 {
  font-size: clamp(3rem, 14vw, 5.8rem);
}

h2 {
  font-size: clamp(2.25rem, 10vw, 4.2rem);
}

h3 {
  font-size: clamp(1.45rem, 6vw, 2rem);
}

h4 {
  font-size: clamp(1.35rem, 5.5vw, 1.72rem);
}

p,
dd,
code {
  overflow-wrap: anywhere;
}

.section-heading {
  max-width: 760px;
}

.section-heading > p:last-child {
  max-width: 660px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.hero {
  padding: 58px 0 72px;
}

.hero-grid {
  display: grid;
  gap: 42px;
  align-items: center;
}

.hero-copy {
  min-width: 0;
}

.hero-copy h1 {
  max-width: 780px;
}

.hero-lede {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 4.6vw, 1.25rem);
  line-height: 1.58;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  width: 100%;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  transform: translateZ(0);
  transition: transform 180ms ease, opacity 180ms ease;
}

.button-primary {
  color: var(--paper);
  background: var(--ink);
}

.button-secondary {
  border-color: var(--line);
  background: transparent;
}

.button-coral {
  color: var(--ink);
  background: var(--coral);
}

.hero-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.hero-art {
  width: min(100%, 560px);
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--cream);
  box-shadow: var(--shadow-soft);
}

.why-section,
.how-section,
.featured-section,
.faq-section {
  padding: 82px 0;
}

.why-section {
  border-top: 1px solid var(--line);
}

.why-grid {
  display: grid;
  gap: 14px;
  margin-top: 36px;
}

.why-card {
  min-width: 0;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.62);
  transform: translateZ(0);
  transition: transform 180ms ease, opacity 180ms ease;
}

.card-number {
  margin: 0 0 36px;
  color: var(--coral-dark);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.05rem;
  font-variant-numeric: tabular-nums;
}

.why-card > p:last-child {
  margin: 15px 0 0;
  color: var(--muted);
  line-height: 1.62;
}

.how-section {
  color: var(--paper);
  background: var(--ink);
}

.how-section .eyebrow {
  color: #ef9a7e;
}

.how-section .section-heading > p:last-child {
  color: rgba(250, 249, 245, 0.68);
}

.how-layout {
  display: grid;
  gap: 42px;
}

.steps {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 14px;
  padding: 25px 0;
  border-top: 1px solid rgba(250, 249, 245, 0.18);
}

.steps li:last-child {
  border-bottom: 1px solid rgba(250, 249, 245, 0.18);
}

.steps li > span {
  color: #ef9a7e;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.15rem;
  line-height: 1.4;
}

.steps h3 {
  font-size: clamp(1.4rem, 6vw, 1.82rem);
}

.steps p {
  margin: 10px 0 0;
  color: rgba(250, 249, 245, 0.7);
  line-height: 1.62;
}

.featured-section {
  border-bottom: 1px solid var(--line);
}

.featured-heading {
  margin-bottom: 48px;
}

.lane-stack {
  display: grid;
  gap: 62px;
}

.lane-preview {
  min-width: 0;
}

.lane-heading {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin-bottom: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.lane-index {
  margin: 4px 0 0;
  color: var(--coral-dark);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1rem;
}

.lane-heading h3 {
  font-size: clamp(1.9rem, 8vw, 2.7rem);
}

.lane-heading div > p {
  max-width: 620px;
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.featured-grid {
  display: grid;
  gap: 16px;
}

.featured-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  box-shadow: 0 1px 0 rgba(20, 20, 19, 0.02);
  transform: translateZ(0);
  transition: transform 180ms ease, opacity 180ms ease;
}

.featured-card > a {
  display: grid;
  min-height: 100%;
  color: inherit;
  text-decoration: none;
}

.featured-art {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--cream-deep);
}

.featured-art img {
  width: 100%;
}

.featured-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 23px;
}

.featured-copy .kicker {
  margin-bottom: 11px;
}

.featured-copy > p:not(.kicker) {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.58;
}

.featured-copy > span {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--coral-dark);
  font-size: 0.88rem;
  font-weight: 600;
}

.all-usecases {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 9px;
  margin-top: 38px;
  color: var(--coral-dark);
  font-weight: 600;
  text-decoration: none;
  transition: transform 180ms ease, opacity 180ms ease;
}

.creative-band {
  margin: 0;
  padding: 76px 0;
  color: var(--paper);
  background: #1a1a18;
}

.creative-grid {
  display: grid;
  gap: 42px;
  align-items: center;
}

.creative-art {
  width: min(100%, 520px);
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid rgba(250, 249, 245, 0.2);
  border-radius: var(--radius-lg);
  background: var(--cream);
}

.creative-content {
  min-width: 0;
}

.creative-content .eyebrow {
  color: #ef9a7e;
}

.creative-content h2 {
  font-size: clamp(2.25rem, 10vw, 4rem);
}

.creative-content > p:not(.eyebrow) {
  margin: 20px 0 0;
  color: rgba(250, 249, 245, 0.72);
  line-height: 1.64;
}

.creative-content .engine-intro {
  padding-left: 18px;
  border-left: 3px solid var(--coral);
  color: var(--paper);
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.25rem, 5vw, 1.65rem);
  line-height: 1.4;
}

.creative-content .engine-punchline {
  color: var(--paper);
  font-weight: 600;
}

.model-roster {
  display: grid;
  gap: 22px;
  margin-top: 32px;
  padding: 24px 0;
  border-top: 1px solid rgba(250, 249, 245, 0.18);
  border-bottom: 1px solid rgba(250, 249, 245, 0.18);
}

.model-group > p {
  margin: 0 0 12px;
  color: #ef9a7e;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.model-list {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  gap: 8px;
}

.model-list span {
  padding: 7px 10px;
  border: 1px solid rgba(250, 249, 245, 0.2);
  border-radius: 999px;
  color: rgba(250, 249, 245, 0.85);
  font-size: 0.78rem;
  line-height: 1.35;
}

.creative-content .button {
  margin-top: 28px;
}

.faq-section {
  background: var(--cream-deep);
}

.faq-layout {
  display: grid;
  gap: 38px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: grid;
  min-height: 60px;
  cursor: pointer;
  grid-template-columns: minmax(0, 1fr) 28px;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.12rem, 4.8vw, 1.35rem);
  font-weight: 500;
  line-height: 1.3;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary span {
  color: var(--coral-dark);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1.4rem;
  font-weight: 400;
  text-align: center;
  transition: transform 180ms ease, opacity 180ms ease;
}

.faq-item[open] summary span {
  transform: rotate(45deg);
}

.faq-item p {
  max-width: 700px;
  margin: 0;
  padding: 0 38px 24px 0;
  color: var(--muted);
  line-height: 1.68;
}

.site-footer {
  padding: 68px 0 28px;
  color: var(--paper);
  background: var(--ink);
}

.footer-main {
  display: grid;
  gap: 52px;
}

.footer-intro > p {
  max-width: 470px;
  margin: 16px 0 0;
  color: rgba(250, 249, 245, 0.68);
}

.footer-usecases,
.footer-cta,
.footer-skills,
.footer-connect dd a,
.footer-guides a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.footer-usecases {
  gap: 8px;
  margin-top: 18px;
  color: #ef9a7e;
  font-weight: 600;
  text-decoration: none;
}

.footer-connect {
  min-width: 0;
}

.site-footer .footer-label {
  color: #ef9a7e;
}

.footer-connect dl {
  display: grid;
  gap: 0;
  margin: 0;
}

.footer-connect dl > div {
  display: grid;
  min-width: 0;
  gap: 3px;
  padding: 13px 0;
  border-top: 1px solid rgba(250, 249, 245, 0.16);
}

.footer-connect dl > div:last-child {
  border-bottom: 1px solid rgba(250, 249, 245, 0.16);
}

.footer-connect dt {
  color: rgba(250, 249, 245, 0.5);
  font-size: 0.78rem;
  font-weight: 500;
}

.footer-connect dd {
  min-width: 0;
  margin: 0;
  color: rgba(250, 249, 245, 0.82);
  font-size: 0.79rem;
}

.footer-connect code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  white-space: normal;
}

.footer-connect dd a {
  max-width: 100%;
  flex-wrap: wrap;
  text-underline-offset: 0.2em;
}

.footer-cta {
  margin-top: 18px;
  color: #ef9a7e;
  font-weight: 600;
}

.footer-skills {
  gap: 8px;
  color: rgba(250, 249, 245, 0.72);
  font-size: 0.88rem;
}

.footer-guides {
  margin-top: 54px;
  padding-top: 22px;
  border-top: 1px solid rgba(250, 249, 245, 0.16);
}

.footer-guides > div {
  display: grid;
}

.footer-guides a {
  color: rgba(250, 249, 245, 0.7);
  font-size: 0.88rem;
}

.footer-usecases,
.footer-cta,
.footer-skills,
.footer-connect dd a,
.footer-guides a {
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero-enter {
  animation: hero-arrive 520ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
}

.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1), opacity 360ms ease;
}

.reveal-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes hero-arrive {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 640px) {
  .shell {
    width: min(100% - 48px, var(--shell));
  }

  .nav-wrap {
    gap: 16px;
  }

  .nav-links {
    gap: 4px;
  }

  .nav-links > a {
    display: inline-flex;
    padding-inline: 10px;
    font-size: 0.86rem;
  }

  .nav-signin {
    padding-inline: 10px;
    font-size: 0.86rem;
  }

  .hero {
    padding: 76px 0 90px;
  }

  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .button {
    width: auto;
  }

  .why-section,
  .how-section,
  .featured-section,
  .faq-section {
    padding: 96px 0;
  }

  .why-grid,
  .featured-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .why-card {
    padding: 30px;
  }

  .lane-heading {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 18px;
  }

  .featured-copy {
    padding: 25px;
  }

  .creative-band {
    margin-inline: 24px;
    padding: 86px 0;
    border-radius: var(--radius-lg);
  }

  .model-roster {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }

  .creative-content .button {
    width: auto;
  }

  .footer-connect dl > div {
    grid-template-columns: 130px minmax(0, 1fr);
    align-items: center;
    gap: 18px;
  }

  .footer-guides > div {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }
}

@media (min-width: 900px) {
  .hero {
    padding: 92px 0 108px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
    gap: 68px;
  }

  .why-section,
  .how-section,
  .featured-section,
  .faq-section {
    padding: 112px 0;
  }

  .why-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .how-layout {
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
    gap: 78px;
  }

  .steps li {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 18px;
    padding: 28px 0;
  }

  .featured-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }

  .creative-grid {
    grid-template-columns: minmax(340px, 0.85fr) minmax(0, 1.15fr);
    gap: 70px;
  }

  .faq-layout {
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    gap: 78px;
  }

  .footer-main {
    grid-template-columns: minmax(0, 0.75fr) minmax(520px, 1.25fr);
    gap: 80px;
  }
}

@media (min-width: 1180px) {
  .hero {
    padding: 116px 0 130px;
  }

  .hero-grid {
    gap: 86px;
  }

  .why-grid,
  .featured-grid {
    gap: 24px;
  }

  .lane-stack {
    gap: 82px;
  }

  .creative-band {
    margin-inline: 32px;
    padding: 102px 0;
  }

  .creative-grid {
    gap: 92px;
  }
}

@media (hover: hover) and (pointer: fine) {
  .nav-links > a:hover,
  .nav-signin:hover,
  .button:hover,
  .all-usecases:hover,
  .footer-usecases:hover,
  .footer-cta:hover,
  .footer-skills:hover,
  .footer-connect dd a:hover,
  .footer-guides a:hover {
    opacity: 0.76;
    transform: translateY(-2px);
  }

  .why-card:hover,
  .featured-card:hover {
    opacity: 0.96;
    transform: translateY(-3px);
  }
}

.button:active,
.nav-signin:active,
.why-card:active,
.featured-card:active,
.all-usecases:active,
.footer-usecases:active,
.footer-cta:active,
.footer-skills:active,
.footer-connect dd a:active,
.footer-guides a:active {
  opacity: 0.82;
  transform: translateY(1px);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .hero-enter {
    animation: none;
  }

  .reveal,
  .reveal-ready .reveal,
  .reveal-ready .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}
