/* Letterlore brand: every color, typeface, the paper texture and the plate style live here.
   Change the look by editing this file only. Approved direction: "Print", round 3 (2026-11-17). */
@import url("https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Inter:wght@400;500;600&display=swap");

:root {
  /* paper and ink */
  --paper: #F7F5EF;
  --ink: #1B1A19;
  --muted: #5E5B55;
  --faint: #A39E93;
  --label: #8E897F;
  --card: #FFFFFF;
  /* rules on the writing plate */
  --rule-base: #9A958A;
  --rule-x: #CBC5B8;
  --rule-faint: #DAD5CA;
  /* controls */
  --line: #A8A399;
  --field: #CFC9BC;
  --scrim: rgba(30, 28, 24, 0.28);
  /* ink colors offered in the studio */
  --ink-black: #1B1A19;
  --ink-blue: #1D2F8A;
  --ink-sepia: #6B3A1F;
  /* type */
  --serif: "Instrument Serif", Georgia, serif;
  --sans: Inter, system-ui, -apple-system, sans-serif;
  /* the paper texture: cotton-rag grain, embossed with light from the top left */
  --paper-texture: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='420'%3E%3Cfilter id='p' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.55' numOctaves='3' seed='6' stitchTiles='stitch' result='n'/%3E%3CfeDiffuseLighting in='n' surfaceScale='2.4' lighting-color='%23FFFFFF' result='l'%3E%3CfeDistantLight azimuth='235' elevation='55'/%3E%3C/feDiffuseLighting%3E%3CfeColorMatrix in='l' type='matrix' values='0.33 0.33 0.33 0 0 0.33 0.33 0.33 0 0 0.33 0.33 0.33 0 0 0 0 0 0 1'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)'/%3E%3C/svg%3E");
  --paper-texture-opacity: 0.3;
  /* the writing plate: an inset impression in the paper */
  --plate-shadow: inset 1px 1px 0 rgba(0, 0, 0, 0.10), inset -1px -1px 0 rgba(255, 255, 255, 0.95), inset 2px 2px 3px rgba(0, 0, 0, 0.05);
  --plate-fill: rgba(255, 255, 255, 0.35);
  /* white card stock lying on the paper */
  --card-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(40, 30, 15, 0.10), 0 10px 24px rgba(40, 30, 15, 0.10);
  --radius: 1px;
}

html { background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 15px; -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; min-height: 100dvh; position: relative; }
body::before { content: ""; position: fixed; inset: 0; background-image: var(--paper-texture); opacity: var(--paper-texture-opacity); mix-blend-mode: multiply; pointer-events: none; z-index: 0; }
a { color: var(--ink); }
a:hover { color: var(--muted); }

.eyebrow { font: 500 11px/1.3 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.h1 { margin: 0; font: 400 40px/1.05 var(--serif); letter-spacing: -0.01em; }
.h2 { margin: 0; font: 400 30px/1.05 var(--serif); letter-spacing: -0.01em; }
.lede { margin: 0; font-size: 15px; line-height: 1.5; color: var(--muted); }
.small { font-size: 13px; line-height: 1.5; color: var(--muted); }

.btn { min-height: 48px; padding: 0 18px; border-radius: var(--radius); font: 500 15px var(--sans); letter-spacing: 0.01em; display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; box-sizing: border-box; background: transparent; color: var(--ink); border: 1px solid var(--line); text-decoration: none; -webkit-tap-highlight-color: transparent; }
.btn:active { background: rgba(0, 0, 0, 0.04); }
.btn.primary { background: var(--ink); color: var(--paper); border: 0; min-height: 52px; }
.btn.primary:active { background: #000; }
.btn[disabled] { opacity: 0.45; cursor: default; }
.btn svg { flex: none; }
.icon-btn { width: 44px; height: 44px; border: 0; background: transparent; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; color: var(--ink); -webkit-tap-highlight-color: transparent; }

.plate { position: relative; box-shadow: var(--plate-shadow); background: var(--plate-fill); }
.card { position: relative; background: var(--card); border-radius: 3px; box-shadow: var(--card-shadow); }
.field { width: 100%; box-sizing: border-box; height: 44px; padding: 0 12px; border-radius: var(--radius); border: 1px solid var(--field); background: rgba(255, 255, 255, 0.55); color: var(--ink); font: 16px var(--sans); }
.field:focus { outline: 2px solid var(--ink); outline-offset: 1px; }

.logo { display: block; height: 27.5px; width: auto; }

@keyframes llw { to { stroke-dashoffset: 0; } }
@keyframes llf { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  path[pathLength] { animation: none !important; stroke-dashoffset: 0 !important; opacity: 1 !important; }
  [style*="llf"] { animation: none !important; opacity: 1 !important; }
}
