/* Shared look for Queeny's home, sign-in and settings pages (the dashboard has its own copy of these basics) */
:root {
  --ivory: #F8F7F1; --cream: #F5ECE3; --blush: #E7B0BE; --blush-soft: #F4DCE3; --taupe: #C9BCB3; --mocha: #B88A74;
  --ink: #3E2A31; --plum: #5A2A40; --rose: #A9506F; --muted: #8E7B76; --line: #E9DED6; --error: #A33A3A;
  --serif: 'Cormorant Garamond', 'Times New Roman', serif; --sans: Jost, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: var(--sans); font-size: 15px; color: var(--ink); background: var(--ivory); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.caps { font-size: 11px; font-weight: 400; text-transform: uppercase; letter-spacing: .24em; }
.topbar { display: flex; justify-content: flex-end; gap: 22px; padding: 18px 24px 0; color: var(--muted); }
.topbar a { text-decoration: none; }
.topbar a:hover { color: var(--rose); }

/* rose-gold foil wordmark with crown */
.logo { display: inline-flex; flex-direction: column; align-items: center; margin: 0; line-height: 1; text-decoration: none; }
.logo .crown { width: 46px; height: 28px; margin-bottom: 10px; }
.logo .word {
  display: inline-block; padding: 0 .06em .06em; font-family: var(--serif); font-weight: 500; font-size: 80px; letter-spacing: .06em; margin-right: -.06em;
  background:
    linear-gradient(110deg, transparent 44%, rgba(255, 246, 240, .9) 50%, transparent 56%) 100% 0 / 260% 100% no-repeat,
    linear-gradient(170deg, #D9A699 0%, #A9695E 32%, #EBC9BD 48%, #8F5449 66%, #C48C80 86%, #9E6457 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 1px 0 rgba(62, 42, 49, .2)); animation: sheen 9s ease-in-out infinite;
}
.logo.small .crown { width: 30px; height: 18px; margin-bottom: 6px; }
.logo.small .word { font-size: 44px; }
@keyframes sheen { 0%, 55% { background-position: 100% 0, 0 0; } 100% { background-position: 0 0, 0 0; } }

.btn {
  display: inline-block; background: none; border: 1px solid var(--plum); color: var(--plum); padding: 13px 28px; cursor: pointer; text-decoration: none;
  font: 400 12px var(--sans); text-transform: uppercase; letter-spacing: .22em; transition: background .15s, color .15s;
}
.btn:hover { background: var(--plum); color: var(--ivory); }
.btn.solid { background: var(--ink); border-color: var(--ink); color: var(--blush-soft); }
.btn.solid:hover { background: var(--plum); }
.btn:disabled { opacity: .5; cursor: default; }
.link { background: none; border: 0; padding: 0; color: var(--rose); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; font-size: 14px; }

/* forms */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; text-align: left; }
.field label { font-size: 11px; text-transform: uppercase; letter-spacing: .2em; color: var(--muted); }
.field input, .field select {
  border: 0; border-bottom: 1px solid var(--taupe); background: none; padding: 9px 0; font-size: 16px; outline: none; border-radius: 0;
}
.field input:focus, .field select:focus { border-bottom-color: var(--rose); }
.field .hint { font-size: 12px; color: var(--muted); }
.msg { min-height: 20px; font-size: 14px; margin: 4px 0 14px; }
.msg.error { color: var(--error); }
.msg.ok { color: var(--plum); }
.note { background: var(--blush-soft); padding: 14px 18px; font-size: 14px; line-height: 1.5; margin-bottom: 22px; text-align: left; }

/* size chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid var(--taupe); background: none; min-width: 46px; padding: 8px 12px; cursor: pointer; font-size: 14px; color: var(--muted);
}
.chip:hover { border-color: var(--plum); color: var(--ink); }
.chip.on { background: var(--ink); border-color: var(--ink); color: var(--blush-soft); }

footer { background: var(--cream); margin-top: 88px; padding: 28px 0 calc(28px + env(safe-area-inset-bottom)); text-align: center; color: var(--muted); }

@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  .topbar { justify-content: center; padding: 16px 16px 0; }
  .logo .word { font-size: 60px; }
  .logo .crown { width: 38px; height: 23px; margin-bottom: 8px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
