/* Quotephernalia: an old library at lamplight. Ivory paper, midnight ink, gilt edges. Colors match the app (quotes-app/src/styles.css). */
@font-face { font-family: 'Playfair Display'; src: url('fonts/playfair-display-latin-wght-normal.woff2') format('woff2'); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Playfair Display'; src: url('fonts/playfair-display-latin-wght-italic.woff2') format('woff2'); font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: 'EB Garamond'; src: url('fonts/eb-garamond-latin-wght-normal.woff2') format('woff2'); font-weight: 400 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'EB Garamond'; src: url('fonts/eb-garamond-latin-wght-italic.woff2') format('woff2'); font-weight: 400 800; font-style: italic; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('fonts/inter-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --bg: #f6f0e3; --bg-2: #ece4d2; --surface: #fffcf4;
  --ink: #1e2438; --ink-2: #3a4058; --muted: #625f68; --heading: #1e2438;
  --line: #e6dcc7; --line-2: #d6c8ad; --hover: color-mix(in srgb, #26304d 8%, transparent);
  --accent: #26304d; --accent-hover: #1a2138; --accent-ink: #fbf5e6; --accent-soft: #e7e3dc;
  --gold: #a8782c; --eyebrow: #8c6220; --link: #26304d;
  --display: 'Playfair Display', Georgia, serif; --display-weight: 600; --brand-weight: 600;
  --text: 'EB Garamond', Garamond, Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --header-bg: rgba(246, 240, 227, 0.88);
  --hero-bg: radial-gradient(900px 520px at 85% 6%, rgba(168, 120, 44, 0.18), transparent 70%), radial-gradient(800px 600px at 72% 96%, rgba(38, 48, 77, 0.12), transparent 70%), var(--bg);
  --shot-shadow: 0 2px 4px rgba(20, 30, 40, 0.06), 0 24px 60px -12px rgba(20, 30, 50, 0.28);
  --phone-shadow: 0 2px 6px rgba(0, 0, 0, 0.18), 0 28px 50px -12px rgba(20, 25, 45, 0.45);
  --card-shadow: 0 1px 2px rgba(30, 30, 40, 0.05), 0 10px 30px rgba(30, 30, 40, 0.06);
  --frame-line: rgba(20, 30, 50, 0.12); --chrome: #ece4d2; --chrome-dot: #d6c8ad; --chrome-url: #fbf7ee;
  --band-bg: linear-gradient(160deg, #26304d 0%, #121729 100%);
  --band-ink: #f1ead8; --band-ink-2: color-mix(in srgb, #f1ead8 84%, transparent); --band-heading: #fbf5e6; --band-accent: #e3bd6a;
  --band-card: rgba(255, 255, 255, 0.06); --band-line: rgba(255, 255, 255, 0.16);
  --footer-bg: #111526; --footer-ink: #e6dfcd; --footer-heading: #fbf5e6; --footer-muted: #a8a293; --footer-line: rgba(255, 255, 255, 0.13);
  --closing-bg: radial-gradient(700px 300px at 50% 0%, color-mix(in srgb, #a8782c 14%, transparent), transparent 70%), var(--bg-2);
  --badge-bg: #f3e6c8; --badge-ink: #7a5517;
  --tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10' fill='%23e7e3dc'/%3E%3Cpath d='M6 10.4l2.6 2.6L14 7.6' fill='none' stroke='%2326304d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --band-tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10' fill='%23e3bd6a' fill-opacity='.22'/%3E%3Cpath d='M6 10.4l2.6 2.6L14 7.6' fill='none' stroke='%23e3bd6a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M7 1.5v11M1.5 7h11' stroke='%2326304d' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
  --focus: #a8782c;
}

.hero h1 .promise { font-size: clamp(42px, 5.8vw, 68px); line-height: 1.04; }
.section-head h2 { font-size: clamp(32px, 4vw, 46px); }
.feature h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.1; }
.hero h1 .name { font-size: 26px; }
.hero h1 .name svg { border-radius: 22%; }
/* the meaning of the name, like a dictionary entry */
.meaning { margin: 26px 0 0; padding: 18px 22px 16px; max-width: 560px; background: var(--surface); border: 1px solid color-mix(in srgb, var(--gold) 32%, var(--line)); border-radius: 18px; box-shadow: var(--card-shadow); }
.meaning .word { font-family: var(--display); font-size: 24px; font-weight: var(--display-weight); color: var(--ink); }
.meaning .pron { margin-left: 8px; font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 0.12em; color: var(--eyebrow); }
.meaning p { margin: 6px 0 0; font-size: 18px; line-height: 1.5; color: var(--ink); }
.ribbon { position: absolute; top: 0; right: 34px; width: 28px; height: 54px; background: linear-gradient(180deg, #e3bd6a, #a8782c); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 82%, 0 100%); }
.pricing-card { overflow: hidden; }
.hero h1 .promise em { font-style: italic; color: var(--gold); }
.meaning p { font-family: var(--text); font-style: italic; font-size: 21px; }
.feature p, .lede { font-size: 1.08em; }
/* very narrow phones (320px): keep the long names inside the screen */
@media (max-width: 360px) { .hero h1 .promise { font-size: 37px; } .hero h1 .name { font-size: 22px; } .site-header .brand { font-size: 18px; gap: 8px; } .site-nav .btn { margin-left: 4px; padding-left: 12px; padding-right: 12px; } }
