/* Habitphernalia: garden-fresh. Deep evergreen, warm oat paper, marigold for wins. Colors match the app (habit-app/src/styles.css). */
@font-face { font-family: 'Bricolage Grotesque'; src: url('fonts/bricolage-grotesque-latin-wght-normal.woff2') format('woff2'); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('fonts/fraunces-latin-opsz-italic.woff2') format('woff2'); font-weight: 100 900; 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: #f3f0e6; --bg-2: #e9e5d6; --surface: #fffdf7;
  --ink: #1d2b24; --ink-2: #3c4b43; --muted: #5f6c63; --heading: #1d2b24;
  --line: #e4e0d1; --line-2: #d4cfbc; --hover: color-mix(in srgb, #245640 8%, transparent);
  --accent: #245640; --accent-hover: #1a4231; --accent-ink: #fffdf7; --accent-soft: #e2ebe2;
  --gold: #d99a2b; --eyebrow: #a46a12; --link: #245640;
  --display: 'Bricolage Grotesque', 'Avenir Next', system-ui, sans-serif; --display-weight: 700; --brand-weight: 700;
  --text: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --header-bg: rgba(243, 240, 230, 0.88);
  --hero-bg: radial-gradient(900px 520px at 85% 6%, rgba(232, 171, 58, 0.18), transparent 70%), radial-gradient(800px 600px at 72% 96%, rgba(156, 196, 139, 0.22), 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: #e9e5d6; --chrome-dot: #d4cfbc; --chrome-url: #fbf9f1;
  --band-bg: linear-gradient(160deg, #2b6349 0%, #1a4231 100%);
  --band-ink: #eef2e6; --band-ink-2: color-mix(in srgb, #eef2e6 84%, transparent); --band-heading: #fbf6e8; --band-accent: #f0bd5c;
  --band-card: rgba(255, 255, 255, 0.06); --band-line: rgba(255, 255, 255, 0.16);
  --footer-bg: #16291f; --footer-ink: #dfe6dc; --footer-heading: #fbf6e8; --footer-muted: #a6b4a9; --footer-line: rgba(255, 255, 255, 0.13);
  --closing-bg: radial-gradient(700px 300px at 50% 0%, color-mix(in srgb, #d99a2b 14%, transparent), transparent 70%), var(--bg-2);
  --badge-bg: #f8ebcf; --badge-ink: #7c5210;
  --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='%23e2ebe2'/%3E%3Cpath d='M6 10.4l2.6 2.6L14 7.6' fill='none' stroke='%23245640' 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='%23f0bd5c' fill-opacity='.22'/%3E%3Cpath d='M6 10.4l2.6 2.6L14 7.6' fill='none' stroke='%23f0bd5c' 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='%23245640' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
  --focus: #d99a2b;
}

.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, #e8ab3a, #d99a2b); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 82%, 0 100%); }
.pricing-card { overflow: hidden; }
.hero h1 .promise em { font-family: 'Fraunces', Georgia, serif; font-style: italic; font-weight: 500; color: #a46a12; }
.hero h1 .promise, .section-head h2, .feature h2, .closing h2, .pricing-card h2 { letter-spacing: -0.025em; }
.meaning p { font-family: 'Fraunces', Georgia, serif; font-style: italic; }
.frame-desktop, .frame-phone { border-radius: 20px; }
/* 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; } }
