/* QOL Apps / Lav Chaudhary — shared site design system */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --paper: #f7f1e2;
  --paper-deep: #efe6d0;
  --panel: #fffaf0;
  --ink: #17150f;
  --ink-soft: #56503f;
  --ink-faint: #837c68;
  --line: rgba(23,21,15,0.16);
  --line-strong: rgba(23,21,15,0.28);

  --yellow: #ffcf3f;
  --yellow-ink: #1c1400;
  --coral: #ff6a52;
  --mint: #2fbf85;
  --sky: #4a9cf6;
  --pink: #ff8fc2;
  --purple: #8c6bff;
  --white: #fffdf7;

  --shadow-c: rgba(23,21,15,0.9);
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;

  --font-display: "Space Grotesk", "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-hand: "Caveat", cursive;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background:
    radial-gradient(circle, rgba(23,21,15,0.09) 1px, transparent 1.1px) 0 0/26px 26px,
    var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; }
img { max-width: 100%; display: block; }
::selection { background: var(--yellow); color: var(--yellow-ink); }

/* ---------- layout helpers ---------- */

.wrap {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding-left: 48px;
  padding-right: 48px;
}

.section-inner, .hero-inner, .site-grid, .article-shell, .footer-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

main section, main > .section-inner-wrap { padding: 84px 48px; }

/* ---------- nav ---------- */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 78px;
  padding: 0 32px;
  background: rgba(247,241,226,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 2.5px solid var(--ink);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  border: 2.5px solid var(--ink);
  background: var(--yellow);
  color: var(--yellow-ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.86rem;
  transform: rotate(-4deg);
  box-shadow: 3px 3px 0 var(--ink);
  flex: 0 0 auto;
}

.brand img.brand-mark { object-fit: cover; padding: 0; }

.brand-sub {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
  text-transform: uppercase;
  margin-top: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  border: 2px solid transparent;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.nav-links a:hover {
  color: var(--ink);
  background: var(--white);
  border-color: var(--ink);
  transform: translateY(-1px);
}

.nav-links li:last-child a {
  color: var(--ink);
  background: var(--coral);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
}

.nav-links li:last-child a:hover {
  transform: translate(-1px,-1px);
  box-shadow: 4px 4px 0 var(--ink);
}

/* ---------- eyebrow / tags / pills ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px;
  border: 2px solid var(--ink);
  border-radius: var(--radius-pill);
  background: var(--yellow);
  color: var(--yellow-ink);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transform: rotate(-1.4deg);
  box-shadow: 3px 3px 0 var(--ink);
}

.tag, .pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 13px;
  border: 2px solid var(--ink);
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 650;
  white-space: nowrap;
}

.tag.on-yellow { background: var(--yellow); }
.tag.on-mint { background: var(--mint); color: var(--white); }
.tag.on-sky { background: var(--sky); color: var(--white); }
.tag.on-coral { background: var(--coral); color: var(--white); }
.tag.on-pink { background: var(--pink); }

.tilt--2 { transform: rotate(-2deg); }
.tilt-2  { transform: rotate(2deg); }
.tilt--1 { transform: rotate(-1deg); }
.tilt-1  { transform: rotate(1deg); }
.tilt-3  { transform: rotate(3deg); }

/* ---------- headings ---------- */

h1 {
  font-family: var(--font-display);
  max-width: 900px;
  margin-top: 20px;
  font-size: clamp(2.6rem, 6.6vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  font-weight: 700;
}

h2 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.hl {
  background: linear-gradient(180deg, transparent 62%, var(--yellow) 62%);
  padding: 0 2px;
}

.hand {
  font-family: var(--font-hand);
  font-weight: 700;
  color: var(--ink-soft);
  font-size: 1.3em;
}

.intro, .hero-copy {
  max-width: 720px;
  margin-top: 22px;
  color: var(--ink-soft);
  font-size: clamp(1.02rem, 1.7vw, 1.2rem);
}

.updated {
  display: inline-block;
  margin-top: 16px;
  color: var(--ink-faint);
  font-size: 0.88rem;
  font-weight: 600;
}

/* ---------- buttons ---------- */

.button, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: var(--radius-pill);
  border: 2.5px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
}

.button:hover, .btn:hover {
  transform: translate(-2px,-2px);
  box-shadow: 6px 6px 0 var(--ink);
}

.button:active, .btn:active {
  transform: translate(0,0);
  box-shadow: 2px 2px 0 var(--ink);
}

.button.primary { background: var(--yellow); }
.button.mint { background: var(--mint); color: var(--white); }
.button.coral { background: var(--coral); color: var(--white); }
.button.sky { background: var(--sky); color: var(--white); }
.button.ghost { background: transparent; box-shadow: none; }
.button.ghost:hover { box-shadow: 4px 4px 0 var(--ink); }

.hero-actions, .button-row, .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

/* store badges */

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 54px;
  padding: 8px 18px 8px 14px;
  border-radius: 14px;
  border: 2.5px solid var(--ink);
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
  box-shadow: 4px 4px 0 var(--ink-faint);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.store-badge:hover { transform: translate(-2px,-2px); }

.store-badge svg { width: 26px; height: 26px; flex: 0 0 auto; fill: currentColor; }

.store-badge .badge-text { display: grid; gap: 1px; line-height: 1; }
.store-badge .badge-text small { font-size: 0.68rem; opacity: 0.8; }
.store-badge .badge-text strong { font-size: 1.14rem; }

.store-badge.soon {
  background: var(--white);
  color: var(--ink-faint);
  box-shadow: none;
  cursor: default;
}
.store-badge.soon:hover { transform: none; }

/* ---------- hero ---------- */

.hero {
  padding: 76px 48px 60px;
  text-align: center;
}

.hero-inner { display: flex; flex-direction: column; align-items: center; }

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 22px;
}

.name-stamp {
  display: inline-block;
  padding: 18px 40px;
  border: 3px solid var(--ink);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 8px 8px 0 var(--ink);
  transform: rotate(-1deg);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 8vw, 5.2rem);
  letter-spacing: 0.01em;
  line-height: 1;
}

.hero h1 { margin-left: auto; margin-right: auto; }

.hero .intro { margin-left: auto; margin-right: auto; text-align: center; }

.hero-actions.center, .actions.center { justify-content: center; }

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1px;
  width: min(760px, 100%);
  margin: 40px auto 0;
  border: 2.5px solid var(--ink);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--ink);
  box-shadow: 6px 6px 0 var(--ink-faint);
}

.stat-row div {
  padding: 18px 14px;
  background: var(--white);
  text-align: center;
}

.stat-row strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
}

.stat-row span {
  display: block;
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 0.8rem;
}

/* ---------- section heads ---------- */

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  margin-bottom: 30px;
}

.section-head h2 {
  margin-top: 10px;
  max-width: 720px;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.1;
}

.section-note {
  max-width: 380px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* ---------- cards ---------- */

.card, .article-card, .side-card, .product-card, .directory-card, .app-tile, .feature {
  border: 2.5px solid var(--ink);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 5px 5px 0 var(--ink);
}

.card {
  padding: 26px;
}

.card h2 { font-size: 1.22rem; line-height: 1.25; margin-bottom: 12px; }
.card p, .card li { color: var(--ink-soft); font-size: 0.96rem; }
.card p + p { margin-top: 10px; }
.card ul, .card ol { display: grid; gap: 10px; margin-top: 12px; padding-left: 18px; }
.card a { color: var(--sky); text-decoration: underline; text-underline-offset: 2px; }

.policy-body, .content-grid { display: grid; gap: 18px; margin-top: 44px; }
.content-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }

.disclaimer {
  margin-top: 12px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: var(--paper-deep);
  border: 2px solid var(--line-strong);
}
.disclaimer p { font-size: 0.9rem; }

.table-wrap { overflow-x: auto; margin-top: 12px; }
table { border-collapse: collapse; width: 100%; min-width: 480px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); font-size: 0.9rem; color: var(--ink-soft); }
th { color: var(--ink); font-weight: 700; }

code {
  padding: 2px 6px;
  border-radius: 4px;
  border: 1.5px solid var(--line-strong);
  background: var(--paper-deep);
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.86em;
}

/* article / blog cards */

.article-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.article-card {
  min-height: 260px;
  padding: 26px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.article-card:hover {
  transform: translate(-2px,-2px);
  box-shadow: 7px 7px 0 var(--ink);
}

.article-card .meta, .article-meta, .side-card small {
  color: var(--coral);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 750;
}

.article-card h2, .article-card h3 {
  margin-top: 12px;
  font-size: 1.28rem;
  line-height: 1.25;
}

.article-card p { margin-top: 10px; color: var(--ink-soft); font-size: 0.95rem; }

/* sidebar */

.sidebar { display: grid; gap: 16px; align-self: start; }
.side-card { padding: 22px; }
.side-card h2, .side-card h3 { margin-bottom: 12px; font-size: 1.05rem; }
.side-card p, .side-card li { color: var(--ink-soft); font-size: 0.92rem; }
.side-card ul { display: grid; gap: 10px; list-style: none; margin-top: 6px; }
.side-card a { color: var(--sky); text-decoration: none; font-weight: 600; }
.side-card a:hover { text-decoration: underline; }

/* product / app / directory grids */

.product-grid, .directory-grid, .app-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.app-grid.dense { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.product-card, .app-tile { padding: 24px; }

.product-top, .app-tile-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.product-mark, .app-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  border: 2.5px solid var(--ink);
  object-fit: cover;
  background: var(--paper-deep);
  flex: 0 0 auto;
}

.product-mark {
  display: grid;
  place-items: center;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 800;
  background: var(--paper-deep);
}

.product-card h3, .app-tile h3 { font-size: 1.28rem; line-height: 1.22; margin-top: 2px; }
.product-card p, .app-tile p { margin-top: 10px; color: var(--ink-soft); font-size: 0.93rem; }
.product-card .button-row, .app-tile .button-row { margin-top: 20px; gap: 8px; }
.product-card .button, .app-tile .button { min-height: 40px; padding: 0 16px; font-size: 0.84rem; box-shadow: 3px 3px 0 var(--ink); }
.product-card .button:hover, .app-tile .button:hover { box-shadow: 5px 5px 0 var(--ink); }

.directory-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 96px;
  padding: 18px 20px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.directory-card:hover { transform: translate(-2px,-2px); box-shadow: 7px 7px 0 var(--ink); }
.directory-card strong { display: block; font-size: 1rem; }
.directory-card span { display: block; margin-top: 5px; color: var(--ink-soft); font-size: 0.88rem; }

.directory-card .dot {
  width: 10px; height: 10px; border-radius: 50%;
  border: 2px solid var(--ink);
  flex: 0 0 auto;
}
.dot.ios { background: var(--sky); }
.dot.android { background: var(--mint); }
.dot.web { background: var(--coral); }

/* app landing page pieces */

.app-hero {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 24px;
  align-items: center;
  text-align: left;
  max-width: 880px;
  margin: 0 auto;
}

.app-hero .app-icon { width: 108px; height: 108px; border-radius: 26px; box-shadow: 5px 5px 0 var(--ink); }

.app-hero h1 { text-align: left; margin-top: 8px; font-size: clamp(2.1rem, 5vw, 3.4rem); }

.privacy-points {
  display: grid;
  gap: 12px;
  list-style: none;
  margin-top: 18px;
}
.privacy-points li { position: relative; padding-left: 24px; color: var(--ink-soft); }
.privacy-points li::before {
  content: "";
  position: absolute; left: 0; top: 0.55em;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--mint);
  border: 2px solid var(--ink);
}

.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.feature { padding: 22px; }
.feature h3 { font-family: var(--font-display); font-size: 1.08rem; margin-bottom: 10px; }
.feature p { color: var(--ink-soft); font-size: 0.92rem; }

/* doodles */

.doodle { position: absolute; pointer-events: none; opacity: 0.9; }
.scribble-underline { display: inline-block; position: relative; }

/* footer */

footer {
  padding: 50px 48px 40px;
  border-top: 2.5px solid var(--ink);
  background: var(--paper-deep);
  color: var(--ink-soft);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-brand strong { font-family: var(--font-display); color: var(--ink); font-size: 1.05rem; }
.footer-brand p { margin-top: 6px; max-width: 320px; font-size: 0.9rem; }

.footer-cols { display: flex; gap: 44px; flex-wrap: wrap; }
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  margin-bottom: 12px;
}
.footer-col ul { list-style: none; display: grid; gap: 8px; }
.footer-col a { color: var(--ink-soft); text-decoration: none; font-size: 0.9rem; }
.footer-col a:hover { color: var(--ink); text-decoration: underline; }

.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-links a { color: var(--ink-soft); text-decoration: none; font-size: 0.88rem; }
.footer-links a:hover { color: var(--ink); }

.footer-bottom {
  width: min(1180px, 100%);
  margin: 30px auto 0;
  padding-top: 20px;
  border-top: 1.5px solid var(--line-strong);
  font-size: 0.82rem;
  color: var(--ink-faint);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* faq (reused pattern) */

.faq-list { display: grid; gap: 10px; }
.faq-item { border: 2.5px solid var(--ink); border-radius: var(--radius-md); background: var(--white); overflow: hidden; box-shadow: 4px 4px 0 var(--ink); }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 18px 20px; color: var(--ink); background: transparent; border: 0; text-align: left;
  font: inherit; font-family: var(--font-display); font-weight: 700; cursor: pointer;
}
.faq-question span:last-child { color: var(--coral); font-size: 1.3rem; line-height: 1; }
.faq-answer { display: none; padding: 0 20px 18px; color: var(--ink-soft); }
.faq-item.open .faq-answer { display: block; }

/* responsive */

@media (max-width: 980px) {
  .content-grid, .product-grid, .directory-grid, .app-grid, .feature-grid { grid-template-columns: 1fr; }
  .app-grid.dense { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .section-head { align-items: flex-start; flex-direction: column; gap: 12px; }
  .app-hero { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .app-hero h1 { text-align: center; }
}

@media (max-width: 760px) {
  .site-nav { padding: 0 18px; min-height: 68px; }
  .nav-links { display: none; }
  main section, .hero, .section-inner, footer { padding-left: 20px; padding-right: 20px; }
  .wrap { padding-left: 20px; padding-right: 20px; }
  h1 { font-size: 2.5rem; }
  .article-grid, .product-grid, .directory-grid, .app-grid, .app-grid.dense, .feature-grid { grid-template-columns: 1fr; }
  .hero-actions, .button-row, .actions { flex-direction: column; }
  .button, .store-badge { width: 100%; justify-content: center; }
  .stat-row { grid-template-columns: 1fr; }
  .name-stamp { padding: 14px 24px; }
  .footer-inner { flex-direction: column; }
  .footer-cols { gap: 28px; }
}
