/* Marketing landing (docs/DESIGN.md section 3 "Landing"). Tokens only; every selector under
   .wy-landing. Motion: opacity/translate transitions and two small keyframes, all disabled under
   prefers-reduced-motion. */
.wy-landing { font-size: var(--wy-text-lg); line-height: var(--wy-leading); color: var(--wy-text); background: var(--wy-bg); min-height: 100vh; }
.wy-landing__bar { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: var(--wy-space-4); padding: var(--wy-space-3) var(--wy-space-6); border-bottom: 1px solid var(--wy-border); background: var(--wy-bg); }
.wy-landing__brand { display: inline-flex; color: inherit; text-decoration: none; }
.wy-landing__nav { display: none; gap: var(--wy-space-6); margin-inline-start: var(--wy-space-6); }
.wy-landing__navlink { color: var(--wy-text-muted); text-decoration: none; font-size: var(--wy-text-md); font-weight: var(--wy-weight-medium); transition: color var(--wy-motion-fast) var(--wy-ease); }
.wy-landing__navlink:hover, .wy-landing__navlink:focus-visible { color: var(--wy-text); }
.wy-landing__baractions { margin-inline-start: auto; display: flex; gap: var(--wy-space-2); }

.wy-landing__section { max-width: var(--wy-content-max); margin-inline: auto; padding: var(--wy-space-12) var(--wy-space-6); }
.wy-landing__hero { display: grid; gap: var(--wy-space-12); align-items: center; padding-top: var(--wy-space-16); }
.wy-landing__hero-text { display: grid; gap: var(--wy-space-4); justify-items: start; }
.wy-landing__h1 { font-size: var(--wy-text-3xl); line-height: var(--wy-leading-tight); font-weight: var(--wy-weight-semibold); letter-spacing: -0.02em; margin: 0; max-width: 16ch; }
.wy-landing__lead { color: var(--wy-text-muted); font-size: var(--wy-text-xl); max-width: 56ch; margin: 0; }
.wy-landing__lead em { font-style: normal; color: var(--wy-text); font-family: var(--wy-font-mono); font-size: 0.85em; background: var(--wy-surface-raised); padding: 0 var(--wy-space-1); border-radius: var(--wy-radius-sm); border: 1px solid var(--wy-border); white-space: nowrap; }
.wy-landing__cta { display: flex; flex-wrap: wrap; gap: var(--wy-space-3); margin-top: var(--wy-space-2); }
.wy-landing__fine { color: var(--wy-text-muted); font-size: var(--wy-text-sm); margin: 0; }

/* the request demo: a request card as the product renders it, animated by js/landing.js */
.wy-landing__demo { border: 1px solid var(--wy-border-strong); border-radius: var(--wy-radius-lg); background: var(--wy-surface); box-shadow: var(--wy-shadow); overflow: hidden; font-size: var(--wy-text-md); }
.wy-landing__demo-bar { display: flex; align-items: center; gap: var(--wy-space-2); padding: var(--wy-space-2) var(--wy-space-4); border-bottom: 1px solid var(--wy-border); background: var(--wy-surface-sunken); color: var(--wy-text-muted); font-size: var(--wy-text-sm); }
.wy-landing__demo-title { margin-inline-start: var(--wy-space-2); font-family: var(--wy-font-mono); }
.wy-landing__dot { width: var(--wy-space-2); height: var(--wy-space-2); border-radius: var(--wy-radius-pill); background: var(--wy-border-strong); }
.wy-landing__demo-body { padding: var(--wy-space-4); display: grid; gap: var(--wy-space-4); align-content: start; min-height: 22rem; }
.wy-landing__req { display: grid; grid-template-columns: auto 1fr; gap: var(--wy-space-3); align-items: start; }
.wy-landing__req-label { font-size: var(--wy-text-xs); text-transform: uppercase; letter-spacing: 0.08em; color: var(--wy-text-muted); padding-top: var(--wy-space-2); }
.wy-landing__req-text { font-family: var(--wy-font-mono); background: var(--wy-surface-raised); border: 1px solid var(--wy-border); border-radius: var(--wy-radius-md); padding: var(--wy-space-2) var(--wy-space-3); margin: 0; min-height: 2.6em; }
.wy-landing__caret { display: inline-block; width: 0.55em; height: 1.1em; vertical-align: text-bottom; background: var(--wy-accent); margin-inline-start: 2px; animation: wy-landing-blink 1s steps(2) infinite; }
.wy-landing__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--wy-space-2); }
.wy-landing__step { display: flex; gap: var(--wy-space-2); align-items: center; color: var(--wy-text-muted); opacity: 0; translate: 0 var(--wy-space-1); transition: opacity var(--wy-motion) var(--wy-ease), translate var(--wy-motion) var(--wy-ease), color var(--wy-motion) var(--wy-ease); }
.wy-landing__step::before { content: ""; width: var(--wy-space-4); height: var(--wy-space-4); border-radius: var(--wy-radius-pill); border: 2px solid var(--wy-border-strong); flex: none; box-sizing: border-box; transition: background-color var(--wy-motion) var(--wy-ease), border-color var(--wy-motion) var(--wy-ease); }
.wy-landing__step.is-shown { opacity: 1; translate: 0 0; }
.wy-landing__step.is-active::before { border-color: var(--wy-accent); animation: wy-landing-pulse 1.2s ease-in-out infinite; }
.wy-landing__step.is-done { color: var(--wy-text); }
.wy-landing__step.is-done::before { background: var(--wy-success-fg); border-color: var(--wy-success-fg); }
.wy-landing__result { border-top: 1px solid var(--wy-border); padding-top: var(--wy-space-4); opacity: 0; transition: opacity var(--wy-motion) var(--wy-ease); }
.wy-landing__result.is-shown { opacity: 1; }
.wy-landing__chip { display: inline-flex; align-items: center; gap: var(--wy-space-1); font-size: var(--wy-text-xs); font-weight: var(--wy-weight-medium); line-height: 1.7; padding: 0 var(--wy-space-2); border-radius: var(--wy-radius-pill); border: 1px solid var(--wy-neutral-border); background: var(--wy-neutral-bg); color: var(--wy-neutral-fg); }
.wy-landing__chip--ok { background: var(--wy-success-bg); color: var(--wy-success-fg); border-color: var(--wy-success-border); }
.wy-landing__chip--no { background: var(--wy-danger-bg); color: var(--wy-danger-fg); border-color: var(--wy-danger-border); }
.wy-landing__chip--info { background: var(--wy-info-bg); color: var(--wy-info-fg); border-color: var(--wy-info-border); }
.wy-landing__result-meta { color: var(--wy-text-muted); margin-inline-start: var(--wy-space-2); font-size: var(--wy-text-sm); }
.wy-landing__result-text { margin: var(--wy-space-2) 0 0; }

/* sections */
.wy-landing__eyebrow { font-size: var(--wy-text-sm); font-weight: var(--wy-weight-medium); color: var(--wy-accent); text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 var(--wy-space-2); }
.wy-landing__h2 { font-size: var(--wy-text-2xl); font-weight: var(--wy-weight-semibold); line-height: var(--wy-leading-tight); letter-spacing: -0.01em; margin: 0 0 var(--wy-space-3); max-width: 28ch; }
.wy-landing__sub { color: var(--wy-text-muted); max-width: 64ch; margin: 0 0 var(--wy-space-8); }
.wy-landing__sub--center { margin: 0; }
.wy-landing__grid { display: grid; gap: var(--wy-space-4); }
.wy-landing__tile { border: 1px solid var(--wy-border); border-radius: var(--wy-radius-lg); background: var(--wy-surface); padding: var(--wy-space-6); display: grid; gap: var(--wy-space-3); align-content: start; transition: border-color var(--wy-motion-fast) var(--wy-ease), translate var(--wy-motion-fast) var(--wy-ease); }
.wy-landing__tile:hover { border-color: var(--wy-border-strong); translate: 0 -2px; }
.wy-landing__tile h3 { margin: 0; font-size: var(--wy-text-lg); font-weight: var(--wy-weight-semibold); }
.wy-landing__tile p { margin: 0; color: var(--wy-text-muted); font-size: var(--wy-text-md); }
.wy-landing__tile-n { font-family: var(--wy-font-mono); color: var(--wy-accent); font-size: var(--wy-text-sm); }
.wy-landing__tile-icon { width: var(--wy-space-8); height: var(--wy-space-8); border-radius: var(--wy-radius-md); background: var(--wy-accent-subtle); color: var(--wy-accent); border: 1px solid var(--wy-accent-border); display: grid; place-items: center; }

/* pricing */
.wy-landing__price { border: 1px solid var(--wy-accent-border); border-radius: var(--wy-radius-lg); background: var(--wy-surface); box-shadow: var(--wy-shadow); display: grid; overflow: hidden; }
.wy-landing__price-col { padding: var(--wy-space-8); display: grid; gap: var(--wy-space-4); align-content: start; }
.wy-landing__price-col + .wy-landing__price-col { border-top: 1px solid var(--wy-border); }
.wy-landing__price-title { margin: 0; font-size: var(--wy-text-sm); font-weight: var(--wy-weight-medium); color: var(--wy-text-muted); text-transform: uppercase; letter-spacing: 0.08em; }
.wy-landing__price-big { margin: 0; font-size: var(--wy-text-3xl); font-weight: var(--wy-weight-semibold); letter-spacing: -0.02em; line-height: var(--wy-leading-tight); }
.wy-landing__price-big small { font-size: var(--wy-text-md); color: var(--wy-text-muted); font-weight: var(--wy-weight-normal); letter-spacing: 0; }
.wy-landing__list { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--wy-space-2); color: var(--wy-text-muted); font-size: var(--wy-text-md); }
.wy-landing__list li { display: flex; gap: var(--wy-space-2); align-items: flex-start; }
.wy-landing__list svg { color: var(--wy-success-fg); flex: none; margin-top: 0.2em; }

/* faq */
.wy-landing__faq { display: grid; gap: var(--wy-space-2); max-width: 72ch; }
.wy-landing__faq details { border: 1px solid var(--wy-border); border-radius: var(--wy-radius-md); background: var(--wy-surface); padding: var(--wy-space-3) var(--wy-space-4); }
.wy-landing__faq summary { cursor: pointer; font-weight: var(--wy-weight-medium); list-style: none; display: flex; justify-content: space-between; gap: var(--wy-space-3); }
.wy-landing__faq summary::-webkit-details-marker { display: none; }
.wy-landing__faq summary::after { content: "+"; color: var(--wy-text-muted); font-family: var(--wy-font-mono); }
.wy-landing__faq details[open] summary::after { content: "–"; }
.wy-landing__faq p { margin: var(--wy-space-2) 0 0; color: var(--wy-text-muted); font-size: var(--wy-text-md); }

/* closing band + footer */
.wy-landing__cta-band { text-align: center; display: grid; gap: var(--wy-space-4); justify-items: center; padding: var(--wy-space-12) var(--wy-space-6); border: 1px solid var(--wy-border); border-radius: var(--wy-radius-lg); background: var(--wy-surface-sunken); }
.wy-landing__cta-band .wy-landing__h2 { margin: 0; }
.wy-landing__footer { border-top: 1px solid var(--wy-border); padding: var(--wy-space-8) var(--wy-space-6); color: var(--wy-text-muted); font-size: var(--wy-text-sm); }
.wy-landing__footer-in { max-width: var(--wy-content-max); margin-inline: auto; display: flex; flex-wrap: wrap; gap: var(--wy-space-4); align-items: center; justify-content: space-between; }
.wy-landing__footer a { color: inherit; }

@media (min-width: 48rem) {
  .wy-landing__nav { display: flex; }
  .wy-landing__grid { grid-template-columns: repeat(2, 1fr); }
  .wy-landing__price { grid-template-columns: 1fr 1fr; }
  .wy-landing__price-col + .wy-landing__price-col { border-top: 0; border-inline-start: 1px solid var(--wy-border); }
}
@media (min-width: 64rem) {
  .wy-landing__hero { grid-template-columns: 1.1fr 1fr; }
  .wy-landing__h1 { font-size: calc(var(--wy-text-3xl) * 1.3); }
  .wy-landing__grid--3 { grid-template-columns: repeat(3, 1fr); }
}
@keyframes wy-landing-blink { to { opacity: 0; } }
@keyframes wy-landing-pulse { 50% { opacity: 0.35; } }
@media (prefers-reduced-motion: reduce) {
  .wy-landing__caret, .wy-landing__step.is-active::before { animation: none; }
  .wy-landing__step, .wy-landing__result, .wy-landing__tile { transition: none; }
}
