/* Storefront refinements. Loaded after the existing illustration/layout stylesheet. */
:root { --motion-ease: cubic-bezier(.22,.61,.36,1); }
html { scroll-padding-top: 24px; }
section[id] { scroll-margin-top: 24px; }
.skip-link { position: fixed; left: 16px; top: 12px; z-index: 100; padding: 12px 18px; background: var(--ink); color: var(--paper); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
#main-content:focus { outline: none; }
/* Above-the-fold product proof and actions must not wait for animation. */
body.mockup-aligned .hero-copy, body.mockup-aligned .hero-stage { animation: none; }
body.mockup-aligned .hero-stage img { height: auto; }
body.mockup-aligned .site-header nav a { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
body.mockup-aligned .plans { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); max-width: 1100px; gap: 22px; align-items: stretch; margin: 48px auto 0; }
.plan-shell { min-width: 0; perspective: 1000px; }
body.mockup-aligned .plan { position: relative; display: flex; flex-direction: column; height: 100%; min-height: 420px; padding: 34px 26px 26px; border-radius: 12px; border: 1px solid var(--rule); background: #fbf7f0; box-shadow: 0 4px 14px rgba(34,29,24,.035); transition: transform 240ms var(--motion-ease), box-shadow 240ms var(--motion-ease), border-color 180ms ease; }
body.mockup-aligned .plan-featured { --muted: #6b6259; border: 2px solid var(--amber); background: #f6e8d7; padding: 33px 25px 25px; box-shadow: 0 8px 24px rgba(122,70,27,.09); }
body.mockup-aligned .plan-label { font: 700 1rem/1.4 var(--sans); margin: 0 0 18px; }
body.mockup-aligned .price { font-size: clamp(2.5rem,3.7vw,3.4rem); margin-bottom: 10px; }
body.mockup-aligned .price small { display: block; margin-top: 9px; font-size: .8rem; }
body.mockup-aligned .billing-note { min-height: 46px; margin: 0 0 18px; color: var(--muted); font-size: .79rem; line-height: 1.5; }
body.mockup-aligned .plan-summary { min-height: 48px; margin: 0; font-size: .9rem; }
body.mockup-aligned .plan ul { gap: 10px; margin: 16px 0 26px; font-size: .85rem; }
.plan-badge { position: absolute; top: -14px; left: 20px; margin: 0; padding: 5px 11px; border-radius: 99px; background: var(--amber); color: white; font: 700 .72rem/1.3 var(--sans); letter-spacing: .01em; }
body.mockup-aligned .plan-action, .plan-status { margin: auto 0 0; min-height: 46px; width: 100%; display: flex; align-items: center; justify-content: center; border-radius: 6px; font-size: .84rem; }
body.mockup-aligned .plan-action { border: 1px solid var(--rule); background: var(--paper); }
.plan-status { color: var(--muted); border: 1px dashed #cfbaa3; }
.pricing-availability { margin: 24px auto 0; max-width: 680px; text-align: center; color: var(--muted); font-size: .8rem; }
body.mockup-aligned .library-note { max-width: 760px; }
/* The former 760px pricing illustration clearance cannot fit three columns. */
@media (min-width: 1025px) {
  body.mockup-aligned .pricing::before { background-size: max(0px,calc((100% - 1100px)/2 - 32px)) auto; background-position: left bottom; opacity: .55; }
}
@media (max-width: 1399px) { body.mockup-aligned .pricing::before { display: none; } }
body.mockup-aligned .faq summary { position: relative; list-style: none; min-height: 54px; padding-right: 36px; }
body.mockup-aligned .faq summary::-webkit-details-marker { display: none; }
body.mockup-aligned .faq summary::after { content: '+'; position: absolute; right: 6px; top: 18px; font-weight: 400; font-size: 1.2rem; line-height: 1; transition: transform 180ms ease; }
body.mockup-aligned .faq details[open] summary::after { transform: rotate(45deg); }
body.mockup-aligned .site-footer { gap: 24px; padding-top: 28px; padding-bottom: 28px; flex-wrap: wrap; }
body.mockup-aligned .site-footer nav { display: flex; gap: 10px 22px; flex-wrap: wrap; }
body.mockup-aligned .site-footer nav a { display: inline-flex; align-items: center; min-height: 44px; }
body.mockup-aligned a { text-underline-offset: 4px; }
body.mockup-aligned a:focus-visible, body.mockup-aligned summary:focus-visible { outline: 3px solid var(--amber); outline-offset: 4px; }
body.mockup-aligned .plan:focus-within { border-color: var(--amber); box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--amber); }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .plan-shell:hover .plan { transform: rotateX(.8deg) scale(.99); box-shadow: 0 2px 8px rgba(34,29,24,.045); }
  body.mockup-aligned .plan-action:hover { background: #f0e6d9; }
  body.mockup-aligned .quiet-link span { display: inline-block; transition: transform 180ms ease; }
  body.mockup-aligned .quiet-link:hover span { transform: translateX(3px); }
}
@media (prefers-reduced-motion: no-preference) {
  .motion-enter { animation: mp-enter 460ms var(--motion-ease) both; }
  [data-reveal="zoom"].motion-enter { animation-name: mp-zoom; }
  @keyframes mp-enter { from { opacity: .45; transform: translateY(12px); } to { opacity: 1; transform: none; } }
  @keyframes mp-zoom { from { opacity: .65; transform: scale(.985); } to { opacity: 1; transform: none; } }
}
@media (max-width: 960px) {
  body.mockup-aligned .plans { grid-template-columns: 1fr; max-width: 480px; gap: 28px; }
  body.mockup-aligned .plan { min-height: 0; padding: 30px 26px 24px; }
  body.mockup-aligned .plan-featured { padding: 29px 25px 23px; }
  body.mockup-aligned .billing-note, body.mockup-aligned .plan-summary { min-height: 0; }
  body.mockup-aligned .price { font-size: 3rem; }
}
@media (max-width: 768px) {
  body.mockup-aligned .site-header { flex-wrap: wrap; gap: 10px; padding-top: 18px; padding-bottom: 12px; }
  body.mockup-aligned .site-header > .brand { margin-right: auto; }
  body.mockup-aligned .site-header nav { width: 100%; flex-wrap: wrap; gap: 0 18px; }
  body.mockup-aligned .site-header nav a:not(.nav-cta) { display: inline-flex; }
  body.mockup-aligned .site-header .nav-cta { flex-basis: 100%; max-width: none; margin-top: 8px; }
  body.mockup-aligned .hero-proof { min-width: 0; }
  body.mockup-aligned .dashboard-annotation { max-width: calc(100% - 70px); white-space: normal; }
  body.mockup-aligned .site-footer { align-items: flex-start; }
  .motion-enter { animation-duration: 380ms; }
}
@media (hover: none), (pointer: coarse) {
  body.mockup-aligned .button:hover, body.mockup-aligned .plan { transform: none; }
  body.mockup-aligned .button:active { background-color: #eadcc9; color: var(--ink); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  body.mockup-aligned .button:hover, body.mockup-aligned .plan-shell:hover .plan { transform: none; }
}
/* Native readable guide; no extra application or framework. */
.guide { width: min(100% - 40px,760px); margin: 0 auto; padding: 60px 0 80px; }
.guide h1 { font-size: clamp(2.5rem,6vw,3.8rem); line-height: 1.05; }
.guide h2 { font-size: 1.7rem; line-height: 1.2; margin-top: 42px; }
.guide p, .guide li { color: var(--muted); }
.guide a { text-decoration: underline; }
.guide .notice { padding: 20px; border: 1px solid var(--rule); border-radius: 8px; background: #f6e8d7; color: var(--ink); }
@media print { .motion-enter { animation: none !important; opacity: 1 !important; transform: none !important; } .skip-link { display: none; } }
