/* DIJEN TECH — reading pages: the company pages (About, Contact, Privacy,
   Terms) in the site's own style, the home page's extra sections, and the articles under
   /ideas, which sit on the cartoon "toon" theme from games.css. */

/* — company pages — */
.page-head {
  padding: clamp(36px, 6vw, 72px) var(--gutter) clamp(24px, 4vw, 40px);
  background: linear-gradient(180deg, var(--color-accent-100) 0%, var(--color-bg) 100%);
}
.page-head h1 {
  font-size: clamp(32px, 5vw, 48px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.08;
  margin-top: var(--space-2); text-wrap: balance;
}
.page-updated { margin: var(--space-3) 0 0; font-size: 14px; color: var(--color-neutral-600); }
.page-body { padding: 0 var(--gutter) clamp(44px, 6vw, 80px); }
.page-prose { max-width: 760px; }
.page-prose p, .page-prose li { font-size: 16.5px; line-height: 1.7; color: var(--color-neutral-900); }
.page-prose h2 { font-size: clamp(21px, 2.6vw, 25px); font-weight: 800; letter-spacing: -0.02em; margin: var(--space-8) 0 var(--space-3); }
.page-prose ul { padding-left: 22px; margin: 0 0 var(--space-4); display: flex; flex-direction: column; gap: 8px; }
.page-prose a { text-decoration: underline; text-underline-offset: 3px; }
.page-prose code { font-size: .9em; padding: 1px 5px; border-radius: 6px; background: var(--color-neutral-200); }
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: var(--space-3); margin-bottom: var(--space-6); }
.contact-card-link {
  display: flex; flex-direction: column; gap: 2px; padding: var(--space-6) var(--space-4);
  background: var(--color-neutral-100); border: 1px solid var(--color-neutral-300); border-radius: var(--radius-md);
  color: var(--color-text); text-decoration: none !important; box-shadow: var(--shadow-sm);
}
a.contact-card-link:hover { border-color: var(--color-accent); color: var(--color-text); }
.contact-icon { font-size: 28px; margin-bottom: 6px; }
.contact-card-link strong { font-size: 17px; }
.contact-card-link span:last-child { color: var(--color-neutral-700); }

/* — home page additions — */
.home-faq { padding: clamp(44px, 6vw, 84px) var(--gutter); background: var(--color-neutral-100); border-top: 2px solid var(--color-divider); }
.home-faq .shell { max-width: 820px; }
.home-faq details { border-bottom: 1px solid var(--color-neutral-300); padding: var(--space-4) 0; }
.home-faq summary { cursor: pointer; font-weight: 800; font-size: 17.5px; }
.home-faq details p { margin: var(--space-3) 0 0; font-size: 16px; line-height: 1.65; color: var(--color-neutral-800); }
.fun { padding: clamp(44px, 6vw, 84px) var(--gutter); }
.fun-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: var(--space-4); }
.fun-card {
  display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-6);
  background: var(--color-neutral-100); border: 1px solid var(--color-neutral-300); border-radius: var(--radius-lg);
  color: var(--color-text); box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
}
.fun-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--color-text); }
.fun-card .fun-emoji { font-size: 34px; }
.fun-card h3 { font-size: 19px; font-weight: 800; }
.fun-card p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--color-neutral-700); flex: 1; }
.fun-card .product-link { margin: 0; }

/* — /ideas articles (on the toon theme) — */
.article-shell { max-width: 680px; }
.crumbs { font-size: 14px; color: var(--ink-soft); }
.crumbs a { color: var(--blue-deep); font-weight: 600; }
.article-head { transform: rotate(-1deg); }
.article-head h1 { font-size: clamp(28px, 7.4vw, 40px); line-height: 1.15; }
.prose p { font-size: 16.5px; line-height: 1.7; }
.prose h2 { font-size: clamp(21px, 5.6vw, 25px); line-height: 1.25; }
.prose .lead { color: var(--ink-soft); margin-top: -6px; }
.idea-list { margin: 0; padding-left: 24px; display: flex; flex-direction: column; gap: 9px; font-size: 16.5px; line-height: 1.55; }
.idea-list li::marker { color: var(--blue-deep); font-weight: 700; }
.idea-list.tips { list-style: "✓  "; }
.wish-lines { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; counter-reset: line; }
.wish-lines li {
  counter-increment: line; position: relative; padding: 12px 14px 10px 46px;
  background: #fff8f1; border: 2px solid #ffe0c9; border-radius: 16px;
}
.wish-lines li::before {
  content: counter(line); position: absolute; left: 12px; top: 12px;
  display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  font-weight: 700; font-size: 13px; color: #fff; background: #ff7a2f;
}
.wish-lines.is-urdu li { padding: 10px 46px 10px 14px; }
.wish-lines.is-urdu li::before { left: auto; right: 12px; }
.wish-lines p { margin: 0 0 4px; font-size: 16.5px; line-height: 1.55; }
.wish-lines p.ur { font-size: 17px; line-height: 2.2; }
.use-line { font-size: 13.5px; font-weight: 600; color: #cf5412; }
.wish-lines.is-urdu .use-line { display: block; text-align: left; }
.shot { margin: 4px auto; max-width: 240px; }
.shot img { width: 100%; height: auto; border-radius: 22px; border: 4px solid #fff; box-shadow: 0 8px 22px rgba(29, 39, 71, .18); }
.idea-cta { text-align: center; align-items: center; border-color: var(--line); background: linear-gradient(180deg, #fff, #f4f9ff); }
.idea-cta .actions { width: 100%; }
.ideas-group { display: flex; flex-direction: column; gap: 16px; }
.ideas-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.idea-card { gap: 8px; color: var(--ink); text-decoration: none; transition: transform .15s ease; }
.idea-card:hover { color: var(--ink); transform: translateY(-3px); }
.idea-emoji { font-size: 34px; line-height: 1; }
.idea-card h3 { font-size: 19px; line-height: 1.3; }
.idea-card p { font-size: 15px; color: var(--ink-soft); }
.idea-more { margin-top: auto; font-weight: 700; color: var(--blue-deep); }
