/* Art Direction: Airy editorial cards, crisp blue details, and quiet paper-like surfaces. */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@600;700;800&display=swap');

:root {
  color-scheme: light;
  --ink: #182235;
  --muted: #596b84;
  --subtle: #60728c;
  --accent: #285ee8;
  --accent-hover: #1749c9;
  --line: #e2e9f2;
  --paper: #ffffff;
  --wash: #f7f9fc;
  --blue-wash: #eef5ff;
  --radius: 16px;
  --shadow: 0 10px 30px rgb(27 52 96 / 7%), inset 0 1px 0 rgb(255 255 255 / 90%);
  --space-1: .25rem;
  --space-2: .5rem;
  --space-3: .75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --content-width: 1120px;
  --font-body: 'DM Sans', Arial, sans-serif;
  --font-display: 'Manrope', 'DM Sans', Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--space-8); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.65 var(--font-body); -webkit-font-smoothing: antialiased; }
::selection { background: #dbe8ff; color: var(--ink); }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; border-radius: 5px; box-shadow: 0 0 0 7px rgb(40 94 232 / 12%); }
a:active { transform: scale(.98); }
p, h1, h2, h3 { margin: 0; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 800; line-height: 1.35; letter-spacing: -.04em; }
.container { width: min(var(--content-width), calc(100% - var(--space-10))); margin-inline: auto; }
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.skip-link { position: fixed; z-index: 10; left: var(--space-4); top: var(--space-4); padding: var(--space-3) var(--space-5); background: var(--accent); color: white; border-radius: var(--radius); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.articles-section { padding-block: var(--space-12) var(--space-16); }
.site-heading { margin-bottom: var(--space-10); }
.site-heading h1 { font-size: clamp(30px, 4vw, 38px); }
.site-heading p { margin-top: var(--space-2); color: var(--muted); font-size: 17px; }
.post-grid, .app-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-5); }
.post-card, .app-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(160deg, #fff, #fff 70%, #fcfdff); box-shadow: inset 0 1px 0 white, 0 2px 6px rgb(27 52 96 / 1%); animation: enter .3s ease-out both; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.post-card { display: flex; flex-direction: column; }
.post-card__image { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--blue-wash); }
.post-card__image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.post-card__body { display: flex; flex: 1; flex-direction: column; padding: var(--space-6); }
.category { color: var(--accent); font-size: 13px; font-weight: 700; margin-bottom: var(--space-3); }
.post-card h2 { font-size: 20px; letter-spacing: -.035em; line-height: 1.4; margin-bottom: var(--space-3); }
.post-card h2 a { display: flex; align-items: center; min-height: 44px; transition: color .2s ease; }
.post-card h2 a:hover { color: var(--accent); }
.post-excerpt { color: var(--muted); font-size: 15px; line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: var(--space-5); }
.post-card__meta { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: var(--space-2); margin-top: auto; color: var(--subtle); font-size: 12px; }
.text-link { display: inline-flex; align-items: center; gap: var(--space-1); min-height: 44px; color: var(--accent); font-size: 13px; font-weight: 700; transition: color .2s ease, transform .2s ease; }
.text-link .icon { width: 16px; height: 16px; transition: transform .2s ease; }
.text-link:hover { color: var(--accent-hover); }
.text-link:hover .icon { transform: translateX(3px); }
.thumbnail-art { height: 100%; position: relative; display: grid; place-items: center; isolation: isolate; background: radial-gradient(ellipse at 85% 15%, #c7ddfa, transparent 65%), linear-gradient(130deg, #e9f0fa, #d8e7f9); }
.thumbnail-art::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .2; background-image: radial-gradient(#789bc8 .7px, transparent .7px); background-size: 12px 12px; }
.code-window { width: 82%; padding: var(--space-4); border: 1px solid rgb(255 255 255 / 80%); border-radius: 10px; background: rgb(255 255 255 / 85%); backdrop-filter: blur(20px); box-shadow: 0 14px 30px rgb(62 96 144 / 15%), inset 0 1px 0 #fff; transform: rotate(-3deg); color: #48627e; }
.window-dots { display: flex; gap: 4px; margin-bottom: var(--space-3); }
.window-dots i { width: 5px; height: 5px; border-radius: 50%; background: #a9bed9; }
.code-line { display: block; font: 10px/1.8 Consolas, monospace; white-space: nowrap; }
.code-line b { color: var(--accent); font-weight: 400; }
.code-line em { color: #557d70; font-style: normal; }
.code-cursor { display: block; width: 5px; height: 10px; background: #85a5cb; margin-top: 4px; }
.thumbnail-signature { position: absolute; bottom: 9px; right: 14px; color: #526f91; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.post-card:nth-child(3n + 2) .thumbnail-art { filter: hue-rotate(12deg); }
.suite-section { background: var(--wash); border-block: 1px solid var(--line); padding-block: var(--space-16); }
.section-heading { margin-bottom: var(--space-8); }
.section-heading h2 { font-size: clamp(26px, 3vw, 30px); }
.section-heading p { margin-top: var(--space-3); color: var(--muted); }
.desktop-break { display: none; }
.app-card { padding: var(--space-5); display: flex; flex-direction: column; align-items: flex-start; }
.app-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; background: var(--blue-wash); color: var(--accent); margin-bottom: var(--space-4); box-shadow: inset 0 1px 0 #fff; }
.app-icon--clock { color: #c44b12; background: #fff6ed; }
.app-icon--calculator { color: #7b43dc; background: #f5f0ff; }
.app-card h3 { font-size: 16px; letter-spacing: -.025em; margin-bottom: var(--space-2); }
.app-card p { color: var(--muted); font-size: 14px; line-height: 1.7; }
.feature-list { list-style: none; padding: 0; margin: var(--space-4) 0; color: var(--muted); font-size: 13px; }
.feature-list li { display: flex; align-items: center; gap: var(--space-2); margin-bottom: var(--space-1); }
.feature-list .icon { width: 14px; height: 14px; color: var(--accent); }
.app-card > .text-link { margin-top: auto; }
.site-footer { background: var(--paper);  border-top: 1px solid var(--line);  }
.footer-grid { display: grid; gap: var(--space-8); padding-block: var(--space-12); }
.site-footer h2 { font-family: var(--font-body); font-size: 14px; font-weight: 700; letter-spacing: -.015em; margin-bottom: var(--space-4); }
.site-footer p, .site-footer nav > a { color: var(--muted); font-size: 14px; line-height: 1.65; }
.site-footer nav > a { display: flex; align-items: center; padding: 10px 0;  width: fit-content; transition: color .2s ease; }
.site-footer nav > a:hover { color: var(--accent); }
.brand { display: inline-flex; align-items: center; min-height: 44px; gap: var(--space-2); font-family: var(--font-display); font-size: 20px; font-weight: 800; letter-spacing: -.04em; margin-bottom: var(--space-3); }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; background: var(--accent); color: #fff; box-shadow: inset 0 1px 0 rgb(255 255 255 / 25%), 0 3px 8px rgb(40 94 232 / 12%); }
.brand-mark .icon { width: 24px; height: 24px; }
.footer-about > h2 { margin-top: var(--space-8); }
.contact-link { display: inline-flex; gap: var(--space-2); align-items: center; min-height: 44px; color: var(--accent); font-size: 13px; font-weight: 700; overflow-wrap: anywhere; }
.contact-link .icon { width: 16px; height: 16px; }
.footer-bottom { display: none; border-top: 1px solid var(--line); padding-block: var(--space-5); }
.footer-bottom > .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--space-4); }
.footer-bottom p { font-size: 13px; }
.privacy-badge { padding: 3px 14px; border-radius: 999px; color: #fff; background: var(--accent); font-size: 11px; font-weight: 700; box-shadow: inset 0 1px 0 rgb(255 255 255 / 25%); }
.empty-state { border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-10); background: radial-gradient(ellipse at top right, var(--blue-wash), transparent 70%), var(--paper); box-shadow: var(--shadow); animation: enter .3s ease-out both; }
.eyebrow { color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: .15em; }
.empty-state h2 { font-size: 28px; margin-top: var(--space-3); }
.empty-state p { max-width: 55ch; color: var(--muted); margin-block: var(--space-3); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }
.article-main { --article-wide: 1040px; --article-reading: 716px; --font-reading: Georgia, 'Times New Roman', serif; padding-bottom: var(--space-16); overflow-wrap: anywhere; }
.article-wide { width: min(var(--article-wide), calc(100% - var(--space-10))); margin-inline: auto; }
.article-reading { width: min(var(--article-reading), calc(100% - var(--space-10))); margin-inline: auto; }
.article-navigation { padding-top: var(--space-3); }
.back-link { font-size: 13px; gap: var(--space-2); }
.back-link .icon { transform: rotate(180deg); }
.back-link:hover .icon { transform: translateX(-3px) rotate(180deg); }
.article-header { text-align: center; padding-block: var(--space-10) var(--space-8); animation: enter .3s ease-out both; }
.article-category { display: inline-block; margin-bottom: var(--space-5); color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .19em; text-transform: uppercase; }
.article-header h1 { font-size: clamp(34px, 4.2vw, 54px); line-height: 1.1; letter-spacing: -.05em; text-wrap: balance; }
.article-deck { font-family: var(--font-reading); font-size: clamp(18px, 2vw, 23px); line-height: 1.55; color: var(--muted); margin-top: var(--space-5); text-wrap: pretty; }
.article-meta { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: var(--space-2); font-size: 12px; color: var(--subtle); margin-top: var(--space-6); }
.article-hero { margin-block: 0 var(--space-12); animation: enter .3s 50ms ease-out both; }
.article-hero__frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--wash); box-shadow: inset 0 1px 0 rgb(255 255 255 / 80%), 0 1px 4px rgb(27 52 96 / 5%); border: 1px solid var(--line); }
.article-hero__frame img { display: block; width: 100%; height: 100%; object-fit: cover; transition: opacity .3s ease; }
.article-hero__frame.is-loading img { opacity: 0; }
.article-hero__frame.is-loading::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, #e5ecf7, transparent); animation: cover-shimmer 1.4s infinite; }
.article-hero__status { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: var(--space-6); color: var(--muted); font-size: 14px; }
.article-hero__frame.has-error { aspect-ratio: auto; min-height: 160px; background: var(--blue-wash); }
.article-hero figcaption { margin-top: var(--space-3); text-align: center; font-size: 12px; color: var(--subtle); }
.article-prose { font-family: var(--font-reading); font-size: 19px; line-height: 1.85; color: #303c50; animation: enter .3s 100ms ease-out both; }
.article-prose > :first-child { margin-top: var(--space-6); }
.article-prose p, .article-prose ul, .article-prose ol { margin-block: 0 var(--space-6); }
.article-prose h1, .article-prose h2, .article-prose h3, .article-prose h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.35; margin: var(--space-12) 0 var(--space-4); letter-spacing: -.035em; scroll-margin-top: var(--space-8); }
.article-prose h1, .article-prose h2 { font-size: clamp(24px, 3vw, 29px); }
.article-prose h3 { font-size: 23px; }
.article-prose h4 { font-size: 20px; }
.article-prose strong { font-weight: 700; }
.article-prose a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.article-prose a:hover { color: var(--accent-hover); }
.article-prose ul { padding-left: var(--space-5); }
.article-prose li { padding-left: var(--space-1); margin-bottom: var(--space-3); }
.article-prose li::marker { color: var(--accent); }
.article-prose ol { list-style: none; padding: 0; counter-reset: article-step; }
.article-prose ol > li { position: relative; counter-increment: article-step; border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-5) var(--space-5) var(--space-5) var(--space-16); box-shadow: inset 0 1px 0 white, 0 2px 4px rgb(27 52 96 / 2%); color: var(--muted); font-size: 18px; line-height: 1.65; }
.article-prose ol > li::before { content: counter(article-step); position: absolute; left: var(--space-5); top: var(--space-5); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--blue-wash); color: var(--accent); font: 700 14px/1 var(--font-body); }
.article-prose ol > li strong:first-child { font: 700 16px/1.6 var(--font-body); color: var(--ink); }
.article-prose li > p:last-child { margin-bottom: 0; }
.article-prose ol ol { margin-top: var(--space-4); }
.article-prose blockquote { margin: var(--space-8) 0; padding: var(--space-6) var(--space-8); border-radius: var(--radius); background: var(--blue-wash); color: var(--accent); font-size: 23px; line-height: 1.6; box-shadow: inset 0 1px 0 rgb(255 255 255 / 80%); }
.article-prose blockquote p:last-child { margin: 0; }
.article-prose img { display: block; max-width: 100%; height: auto; border-radius: var(--radius); margin-block: var(--space-6); }
.article-prose pre { padding: var(--space-5); background: var(--wash); border: 1px solid var(--line); border-radius: var(--radius); overflow-x: auto; font: 14px/1.8 Consolas, monospace; }
.article-prose :not(pre) > code { padding: 2px 6px; background: var(--wash); border-radius: 5px; font: .85em Consolas, monospace; }
.article-prose table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; font: 15px/1.7 var(--font-body); }
.article-prose td, .article-prose th { padding: var(--space-3); border: 1px solid var(--line); text-align: left; }
.article-prose th { background: var(--wash); }
.article-prose hr { border: 0; border-top: 1px solid var(--line); margin-block: var(--space-8); }
.article-end { margin-top: var(--space-12); padding-top: var(--space-6); border-top: 1px solid var(--line); }
.article-tags { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.article-tags span { color: var(--muted); background: var(--wash); padding: 4px 14px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.article-share { margin-top: var(--space-3); }
.share-actions { display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-5); }
.share-actions h2 { display: flex; align-items: center; gap: var(--space-2); color: var(--subtle); font: 700 11px/1.5 var(--font-body); letter-spacing: .13em; text-transform: uppercase; }
.share-actions .icon { width: 15px; height: 15px; }
.copy-button { border: 0; background: transparent; padding: 0; font-family: inherit; cursor: pointer; }
.copy-button:focus-visible, .share-url:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; box-shadow: 0 0 0 7px rgb(40 94 232 / 12%); border-radius: 5px; }
.copy-button:active { transform: scale(.98); }
.copy-button:disabled { cursor: progress; opacity: .65; }
.share-url { display: block; width: min(100%, 435px); min-height: 44px; border: 1px solid var(--line); border-radius: 8px; padding: var(--space-2) var(--space-3); background: var(--wash); color: var(--muted); font: 12px/1.6 var(--font-body); text-overflow: ellipsis; }
.share-status { color: var(--muted); font-size: 12px; margin-top: var(--space-2); }
.share-status:empty { display: none; }
.author-card { display: flex; align-items: center; gap: var(--space-4); margin-top: var(--space-8); padding: var(--space-6); background: var(--wash); border-radius: var(--radius); border: 1px solid rgb(226 233 242 / 45%); box-shadow: inset 0 1px 0 white; }
.author-card .brand-mark { width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0; }
.author-card h2 { font: 700 16px/1.5 var(--font-body); letter-spacing: -.02em; }
.author-card p { margin-top: var(--space-1); color: var(--muted); font-size: 14px; }
.article-not-found { padding-block: var(--space-16); }
.article-not-found h1 { font-size: clamp(34px, 4vw, 50px); }
.article-not-found p { margin-block: var(--space-5); color: var(--muted); max-width: 55ch; }
.post-page .site-footer { border-top: 1px solid var(--line); }
@keyframes cover-shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
@media (max-width: 599px) {
  .article-header { padding-top: var(--space-8); }
  .article-prose { font-size: 18px; line-height: 1.8; }
  .article-prose blockquote { padding: var(--space-5); font-size: 21px; }
  .article-meta { font-size: 11px; }
  .author-card { padding: var(--space-5); align-items: flex-start; }
  .share-actions { gap: var(--space-4); }
}
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: var(--wash); }
::-webkit-scrollbar-thumb { background: #c5d0e0; border: 2px solid var(--wash); border-radius: 999px; }
@keyframes enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.post-card:nth-child(2), .app-card:nth-child(2) { animation-delay: 50ms; }
.post-card:nth-child(3), .app-card:nth-child(3) { animation-delay: 100ms; }
.post-card:nth-child(4) { animation-delay: 150ms; }
.post-card:nth-child(5) { animation-delay: 200ms; }
.post-card:nth-child(n+6) { animation-delay: 250ms; }
@media (hover: hover) {
  .post-card:hover, .app-card:hover { transform: translateY(-4px) scale(1.01); border-color: #c3d3ee; box-shadow: var(--shadow); }
  .post-card:hover img { transform: scale(1.035); }
}
@media (min-width: 600px) {
  .post-grid, .app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .articles-section { padding-top: var(--space-16); }
  .post-grid, .app-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.25fr .72fr 1.25fr .72fr; gap: var(--space-10); }
  .desktop-break { display: initial; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
/* Art Direction: Airy editorial cards with crisp blue details.
   Details Added: Staggered card entry; lifted card hover; glowing keyboard focus. */
