/* humph.app text pages (privacy, terms, support, 404). Colors come from tokens.css; fonts are self-hosted (OFL). */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 400 900; font-display: swap; src: url("/fonts/fraunces.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 400 900; font-display: swap; src: url("/fonts/nunito.woff2") format("woff2"); }
:root {
  --font: "Nunito", ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Fraunces", ui-serif, Georgia, serif;
  --gutter: 20px;
  --measure: 68ch;
  --radius-lg: 20px;
  --radius-md: 16px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font: 500 17px/1.5 var(--font);
}
a { color: var(--majorelle-ink); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
img, svg { max-width: 100%; height: auto; display: block; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: var(--gutter); top: 12px; background: var(--surface); padding: 10px 14px; border-radius: 12px; z-index: 10; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 var(--gutter); }
.site-header { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-variation-settings: "SOFT" 100; font-weight: 800; font-size: 22px; color: var(--ink); text-decoration: none; min-height: 44px; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.nav { display: flex; gap: 4px; flex-wrap: wrap; }
.nav a { color: var(--ink-secondary); text-decoration: none; font-weight: 700; padding: 10px 12px; border-radius: 12px; min-height: 44px; display: inline-flex; align-items: center; }
.nav a:hover { background: var(--surface-sunk); }
@media (max-width: 520px) { .nav .wide { display: none; } }

.hero { display: grid; gap: 28px; align-items: center; padding-block: 24px 48px; }
@media (min-width: 880px) { .hero { grid-template-columns: 1.05fr 1fr; padding-block: 48px 72px; } }
.hero h1 { font-size: clamp(38px, 6vw, 60px); line-height: 1.05; margin: 0 0 16px; font-weight: 800; letter-spacing: -0.01em; text-wrap: balance; }
.hero p { font-size: 19px; color: var(--ink-secondary); margin: 0 0 24px; max-width: 34em; }
.badge { display: inline-flex; flex-direction: column; gap: 2px; padding: 14px 20px; border-radius: var(--radius-md); background: var(--majorelle); color: var(--on-majorelle); box-shadow: var(--shadow-press-majorelle); font-weight: 800; }
.badge small { font-weight: 600; opacity: 0.9; }

.scene { position: relative; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-card); aspect-ratio: 896 / 1000; background: var(--sky); }
.scene picture, .scene picture img { width: 100%; height: 100%; object-fit: cover; object-position: center 70%; }
.scene .humph { position: absolute; left: 6%; bottom: 4%; width: 46%; animation: bob 3.2s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

section { padding-block: 40px; }
h2 { font-size: clamp(28px, 4vw, 38px); line-height: 1.15; margin: 0 0 12px; font-weight: 800; text-wrap: balance; }
.lead { color: var(--ink-secondary); max-width: 40em; margin: 0 0 28px; font-size: 18px; }
.cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.card { background: var(--surface); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-card); }
.card h3 { margin: 0 0 6px; font-size: 20px; font-weight: 800; }
.card p { margin: 0; color: var(--ink-secondary); }
.card .dot { width: 40px; height: 40px; border-radius: 12px; margin-bottom: 14px; display: grid; place-items: center; font-weight: 800; }
.tint-majorelle { background: var(--majorelle-tint); color: var(--majorelle-ink); }
.tint-saffron { background: var(--saffron-tint); color: var(--saffron-ink); }
.tint-oasis { background: var(--oasis-tint); color: var(--oasis-ink); }
.tint-rose { background: var(--rose-tint); color: var(--rose-ink); }

.split { display: grid; gap: 28px; align-items: center; }
@media (min-width: 880px) { .split { grid-template-columns: 1fr 1fr; } }
.moods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.moods figure { margin: 0; background: var(--surface); border-radius: var(--radius-md); padding: 10px; text-align: center; box-shadow: var(--shadow-card); }
.moods figcaption { font-weight: 700; font-size: 15px; color: var(--ink-secondary); }

.pricing { display: grid; gap: 16px; }
@media (min-width: 760px) { .pricing { grid-template-columns: 1fr 1fr; } }
.pricing ul { margin: 12px 0 0; padding-left: 20px; color: var(--ink-secondary); }
.pricing li { margin: 4px 0; }
.price { font-weight: 800; color: var(--ink); }

.story { background: var(--surface); border-radius: 28px; padding: 28px; box-shadow: var(--shadow-card); }
.story p { margin: 0; max-width: 46em; font-size: 18px; color: var(--ink-secondary); }

.prose { max-width: var(--measure); padding-block: 16px 56px; }
.prose h1 { font-family: var(--display); font-variation-settings: "SOFT" 100, "opsz" 144; font-size: clamp(36px, 5vw, 52px); line-height: 1.05; margin: 16px 0 8px; font-weight: 800; letter-spacing: -0.01em; }
.prose h2 { font-family: var(--display); font-variation-settings: "SOFT" 100; font-size: 26px; margin: 32px 0 8px; }
.prose p, .prose li { color: var(--ink-secondary); }
.prose .updated { color: var(--ink-muted); font-size: 15px; }
.prose details { background: var(--surface); border-radius: var(--radius-md); padding: 14px 18px; margin: 10px 0; box-shadow: var(--shadow-card); }
.prose summary { font-weight: 800; cursor: pointer; min-height: 28px; color: var(--ink); }
.contact { display: inline-flex; padding: 14px 20px; border-radius: var(--radius-md); background: var(--majorelle); color: var(--on-majorelle); font-weight: 800; text-decoration: none; box-shadow: var(--shadow-press-majorelle); min-height: 44px; align-items: center; }

.site-footer { border-top: 1px solid var(--line); padding-block: 28px 40px; color: var(--ink-muted); font-size: 15px; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
.site-footer nav { display: flex; gap: 4px 16px; flex-wrap: wrap; }
.site-footer a { color: var(--ink-secondary); min-height: 44px; display: inline-flex; align-items: center; }

@media (prefers-reduced-motion: reduce) {
  .scene .humph { animation: none; }
  * { scroll-behavior: auto !important; }
}
