@font-face {
  font-family: Outfit;
  src: url("/outfit.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f6f5f1;
  --text: #201f1d;
  --muted: #5e5b55;
  --line: #d9d6ce;
  --accent: #bd352b;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; color: var(--text); background: var(--paper); font: 400 1rem/1.5 Outfit, system-ui, sans-serif; }
a { color: inherit; text-underline-offset: .22em; }
:focus-visible { outline: 3px solid #1769cd; outline-offset: 4px; }
.skip { position: fixed; z-index: 10; background: white; padding: .75rem; transform: translateY(-150%); }
.skip:focus { transform: none; }
.rail, main { width: min(100% - 2.5rem, 73rem); margin-inline: auto; }
header { border-bottom: 1px solid var(--line); }
header .rail, footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
header .rail { min-height: 4.8rem; }
.brand, nav a { display: inline-flex; align-items: center; text-decoration: none; }
.brand { gap: .7rem; font-size: 1.22rem; font-weight: 650; letter-spacing: -.045em; }
.brand img { filter: invert(1); width: 2.6rem; height: auto; }
nav { display:flex; align-items:center; gap:clamp(.4rem,2vw,1.2rem); }
nav .sign-out { background:none; border:0; color:var(--muted); min-height:2.75rem; font-size:.88rem; font-weight:450; padding:.3rem 0; }
nav .sign-out:hover:not(:disabled) { background:none; color:var(--text); text-decoration:underline; }
.delivery-note { margin:0 0 1.3rem; }
.delivery-note p { color:var(--muted); margin:0 0 .5rem; }
nav a { gap: .5rem; min-height: 2.75rem; font-size: .93rem; }
nav a:hover, nav a[aria-current] { text-decoration: underline; }
main { flex: 1; display: grid; align-content: center; padding-block: clamp(2.2rem,7vh,6rem); }
.product { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,.85fr); gap: clamp(2rem,5.3vw,5rem); align-items: center; }
.art { position: relative; display: grid; grid-template: minmax(0,1fr) / minmax(0,1fr); place-items: center; overflow: hidden; isolation: isolate; border-radius: 1.35rem; aspect-ratio: 1.2; background-color: #1c1b1b; background-image: radial-gradient(circle at 55% 50%, #3c2829, transparent 65%), linear-gradient(145deg,#302d2c,#191817); box-shadow: inset 0 0 0 1px #ffffff12; }
.art::before { content:""; position:absolute; inset:0; z-index:-1; opacity:.24; background-image:radial-gradient(#b4a8a9 0.65px, transparent 1px); background-size: 7px 7px; }
.art img { width: 152%; height: auto; max-width:none; display:block; transition: transform .35s ease-out; }
@media (hover:hover) { .art:hover img { transform: translateY(-.25rem) scale(1.025); } }
.category { color:var(--accent); font-size:.78rem; text-transform:uppercase; letter-spacing:.14em; font-weight:650; margin:0 0 .65rem; }
h1,h2 { margin:0; letter-spacing:-.065em; line-height:1.02; }
h1 { font-weight:600; font-size:clamp(3rem,5.6vw,5.7rem); }
.lede { color:var(--muted); font-size:clamp(1.06rem,1.4vw,1.22rem); line-height:1.55; max-width:33em; margin:1.1rem 0 1.8rem; }
.price { display:flex; align-items:baseline; justify-content:space-between; gap:1rem; padding:1.15rem 0 .95rem; border-top:1px solid var(--line); }
.price span { font-size:.9rem; color:var(--muted); }
.price strong { color:var(--text); font-size:1.8rem; font-weight:550; letter-spacing:-.055em; line-height:1.2; }
button,.action { border:0; border-radius:.55rem; color:white; background:#242320; font:inherit; font-weight:550; min-height:3.45rem; padding:.85rem 1.15rem; display:flex; align-items:center; justify-content:space-between; text-decoration:none; gap:1.3rem; width:100%; cursor:pointer; transition:background .18s ease; }
button:hover:not(:disabled),.action:hover { background:#443e3a; }
button:disabled { opacity:.6; cursor:default; }
button span,.action span { font-size:1.28rem; }
.note,.license-state { display:flex; gap:.5rem; align-items:center; }
.note { color:var(--muted); font-size:.86rem; margin:.7rem 0 1.6rem; }
.status-light { display:inline-block; width:.45rem; height:.45rem; flex-shrink:0; background:#528341; border-radius:100%; }
.details .email-login, .details .action { margin-bottom:1.25rem; }
.paused { margin:0 0 1.15rem; font-weight:550; }
.specs { border-top:1px solid var(--line); }
.specs div { display:flex; justify-content:space-between; align-items:baseline; padding:.58rem 0; font-size:.92rem; border-bottom:1px solid var(--line); }
.specs span { color:var(--muted); }
.specs strong { font-weight:520; }
footer.rail { padding-block:1.15rem; border-top:1px solid var(--line); color:var(--muted); font-size:.82rem; }
.panel,.library { max-width:44rem; width:100%; margin:auto; }
.panel h1,.library h1 { font-size:clamp(2.75rem,5.8vw,4.75rem); }
.panel form,.panel .action { max-width:27rem; }
label { display:block; font-weight:550; margin-bottom:.4rem; }
input:not([type=hidden]) { width:100%; font:inherit; padding:.85rem 1rem; border:1px solid #aaa59a; border-radius:.5rem; background:white; margin:0 0 .75rem; }
.library-product { display:flex; align-items:center; gap:1.5rem; margin:2rem 0; border-block:1px solid var(--line); padding:1.3rem 0; }
.art-small { width:min(32%,12rem); aspect-ratio:1.45; flex-shrink:0; border-radius:.7rem; }
.library-product h2,.empty h2 { font-size:clamp(1.7rem,3vw,2.55rem); font-weight:600; }
.library-product .category { font-size:.7rem; }
.license-state { font-size:.95rem; color:var(--muted); margin-bottom:0; }
.empty { border-block:1px solid var(--line); padding:2rem 0; margin:2rem 0; }
.empty p { color:var(--muted); }
.back { display:inline-block; padding:.5rem 0; }
@media(max-width:740px) {
  .rail,main { width:min(100% - 2rem,33rem); }
  header .rail { min-height:3.85rem; }
  main { padding-block:1.25rem 2.25rem; }
  .product { grid-template-columns:1fr; gap:1.4rem; }
  .art { aspect-ratio:1.55; border-radius:1rem; }
  .art img { width:134%; }
  h1 { font-size:clamp(2.75rem,12vw,4rem); }
  .category { margin-bottom:.35rem; }
  .lede { margin:.65rem 0 1.05rem; }
  .price { padding:.7rem 0; }
  .note { margin-bottom:1rem; }
}
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { transition:none!important; } }
/* After-checkout gift on the order-complete page. */
.gift { margin-top:2.2rem; padding-top:1.8rem; border-top:1px solid rgba(36,35,32,.14); max-width:27rem; }
.gift h2 { margin:.35rem 0 1.1rem; font-size:1.9rem; line-height:1.05; letter-spacing:-.02em; }
.gift-action { position:relative; overflow:hidden; background:#e63946; box-shadow:0 .9rem 2.4rem rgba(230,57,70,.28); transition:background .18s ease, transform .18s ease, box-shadow .18s ease; }
.gift-action:hover { background:#c92c39; transform:translateY(-2px); box-shadow:0 1.2rem 2.8rem rgba(230,57,70,.4); }
.gift-action::before { content:""; position:absolute; top:0; bottom:0; left:-60%; width:45%; background:linear-gradient(100deg,transparent,rgba(255,255,255,.35),transparent); transform:skewX(-20deg); animation:gift-sweep 3.4s ease-in-out infinite; }
@keyframes gift-sweep { 60%,100% { left:130%; } }
@media (prefers-reduced-motion: reduce) { .gift-action::before { animation:none; } .gift-action:hover { transform:none; } }
/* A verified gift price on a plug-in's buy page. */
.gift-price s { margin-left:.45rem; opacity:.55; font-weight:400; }
.gift-price span:last-child { color:#e63946; font-weight:600; }
