/* Shared styles for content pages (products, blog). Plain CSS: no Tailwind
   build step needed. Layout utilities used in the markup are limited to ones
   already compiled into tailwind.css (the same set privacypolicy.html uses). */

html, body { background: #ffffff; color: #1b2d5e; }
body { font-family: 'Inter', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
.mesh-bg {
  background:
    radial-gradient(60% 50% at 12% 0%, rgba(43,128,212,0.07) 0%, transparent 55%),
    radial-gradient(45% 40% at 92% 6%, rgba(27,45,94,0.05) 0%, transparent 55%),
    #ffffff;
}
.grad-text { background: linear-gradient(120deg,#1b2d5e 0%,#2b80d4 50%,#6aaee8 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.glass { background: linear-gradient(180deg,rgba(255,255,255,0.95),rgba(240,246,255,0.90)); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border: 1px solid rgba(43,128,212,0.18); box-shadow: 0 4px 24px rgba(27,45,94,0.08); }
.btn { position: relative; display: inline-flex; align-items: center; gap: .55rem; padding: .7rem 1.1rem; border-radius: 999px; font-weight: 500; font-size: .85rem; transition: transform .25s ease, background .25s ease, box-shadow .25s ease; text-decoration: none; }
.btn-ghost { color: #1b2d5e; background: rgba(43,128,212,0.08); border: 1px solid rgba(43,128,212,0.25); }
.btn-ghost:hover { background: rgba(43,128,212,0.14); transform: translateY(-2px); }
.btn-primary { color: #fff; background: linear-gradient(135deg,#2b80d4,#1b2d5e); box-shadow: 0 6px 30px rgba(43,128,212,.30); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(43,128,212,.40); }
.nav { transition: background-color .3s ease, border-color .3s ease; }
.nav.scrolled { background-color: rgba(255,255,255,0.90); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(43,128,212,0.18); box-shadow: 0 2px 16px rgba(27,45,94,0.08); }
::selection { background: rgba(43,128,212,.18); color: #1b2d5e; }

/* ── Site navigation for content pages ── */
.site-links { display: flex; align-items: center; gap: 1.4rem; list-style: none; margin: 0; padding: 0; }
.site-links a { color: #4b6280; font-size: .86rem; font-weight: 500; text-decoration: none; transition: color .2s; }
.site-links a:hover, .site-links a[aria-current="page"] { color: #2b80d4; }
@media (max-width: 720px) { .site-links .opt { display: none; } .site-links { gap: 1rem; } }

/* ── Section scaffolding ── */
.wrap { max-width: 64rem; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .wrap { padding: 0 1.5rem; } }
.eyebrow { font-size: .75rem; text-transform: uppercase; letter-spacing: .25em; color: #6aaee8; margin-bottom: 1rem; }
.lede { max-width: 42rem; color: #4b6280; line-height: 1.75; font-size: 17px; margin-bottom: 1.5rem; }
.section-title { font-size: 1.6rem; font-weight: 600; letter-spacing: -0.02em; color: #1b2d5e; margin: 0 0 .5rem; }
.section-sub { color: #4b6280; line-height: 1.7; margin: 0 0 1.75rem; max-width: 44rem; }
.pill { display: inline-flex; align-items: center; gap: .45rem; font-size: .72rem; font-weight: 600; letter-spacing: .04em; color: #2b80d4; background: rgba(43,128,212,0.08); border: 1px solid rgba(43,128,212,0.22); border-radius: 999px; padding: .3rem .7rem; }
.dot { width: 6px; height: 6px; border-radius: 999px; background: #4db8f0; display: inline-block; }

/* ── Product cards ── */
.product-hero { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .product-hero { grid-template-columns: 1fr 1.15fr; } }
.product-shot { border-radius: 18px; overflow: hidden; border: 1px solid rgba(43,128,212,0.20); box-shadow: 0 18px 50px rgba(27,45,94,0.14); background: #fff; }
.product-shot img { display: block; width: 100%; height: auto; }
.feature-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }
.feature { border-radius: 16px; padding: 1.25rem 1.3rem; }
.feature h3 { font-size: 1rem; font-weight: 600; color: #1b2d5e; margin: .6rem 0 .4rem; }
.feature p { font-size: .9rem; color: #4b6280; line-height: 1.65; margin: 0; }
.feature .ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #2b80d4; background: rgba(43,128,212,0.10); }
.steps { counter-reset: step; display: grid; gap: 1rem; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { border-radius: 16px; padding: 1.25rem 1.3rem; position: relative; }
.step::before { counter-increment: step; content: counter(step); display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 999px; font-size: .8rem; font-weight: 700; color: #fff; background: linear-gradient(135deg,#2b80d4,#1b2d5e); }
.step h3 { font-size: .98rem; font-weight: 600; margin: .7rem 0 .35rem; color: #1b2d5e; }
.step p { font-size: .88rem; color: #4b6280; line-height: 1.6; margin: 0; }
.cta-band { border-radius: 22px; padding: 2rem 1.5rem; text-align: center; background: linear-gradient(135deg, rgba(43,128,212,0.10), rgba(168,200,232,0.18)); border: 1px solid rgba(43,128,212,0.20); }
.cta-band h2 { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 .5rem; color: #1b2d5e; }
.cta-band p { color: #4b6280; margin: 0 auto 1.25rem; max-width: 36rem; line-height: 1.7; }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
.coming { border: 1px dashed rgba(43,128,212,0.35); border-radius: 16px; padding: 1.25rem 1.3rem; color: #4b6280; font-size: .9rem; line-height: 1.65; }

/* ── Blog listing ── */
.post-card { display: grid; gap: 1.25rem; border-radius: 18px; overflow: hidden; text-decoration: none; color: inherit; transition: transform .25s ease, box-shadow .25s ease; }
.post-card:hover { transform: translateY(-3px); box-shadow: 0 16px 44px rgba(27,45,94,0.14); }
@media (min-width: 800px) { .post-card { grid-template-columns: 1.1fr 1fr; } }
.post-card img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 220px; }
.post-card .body { padding: 1.4rem 1.5rem 1.6rem; }
.post-card h2 { font-size: 1.3rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.3; margin: .75rem 0 .6rem; color: #1b2d5e; }
.post-card p { color: #4b6280; line-height: 1.7; font-size: .93rem; margin: 0 0 .9rem; }
.meta { font-size: .78rem; color: #64748b; }

/* ── Article ── */
.article-hero-img { margin: 0 0 2.5rem; border-radius: 18px; overflow: hidden; border: 1px solid rgba(43,128,212,0.20); box-shadow: 0 18px 50px rgba(27,45,94,0.14); }
.article-hero-img img { display: block; width: 100%; height: auto; }
.article { max-width: 46rem; }
.article h2 { font-size: 1.45rem; font-weight: 600; letter-spacing: -0.02em; margin: 2.75rem 0 .85rem; color: #1b2d5e; scroll-margin-top: 6rem; }
.article h3 { font-size: 1.08rem; font-weight: 600; margin: 1.8rem 0 .5rem; color: #1b2d5e; }
.article p { color: #3d5270; line-height: 1.85; margin: 0 0 1.1rem; font-size: 1.02rem; }
.article ul, .article ol { margin: 0 0 1.3rem; padding-left: 1.3rem; }
.article li { color: #3d5270; line-height: 1.8; margin-bottom: .5rem; font-size: 1.02rem; }
.article li::marker { color: #2b80d4; }
.article strong { color: #1b2d5e; font-weight: 600; }
.article a { color: #2b80d4; text-decoration: underline; text-underline-offset: 3px; }
.article a:hover { color: #1b2d5e; }
.article a.btn { text-decoration: none; }
.article a.btn-primary, .article a.btn-primary:hover { color: #fff; }
.article figure { margin: 2rem 0; }
.article figure img { width: 100%; height: auto; display: block; border-radius: 14px; border: 1px solid rgba(43,128,212,0.18); box-shadow: 0 10px 34px rgba(27,45,94,0.10); }
.article figcaption { font-size: .82rem; color: #64748b; margin-top: .6rem; line-height: 1.5; }
.answer-box { border-radius: 16px; padding: 1.25rem 1.4rem; margin: 0 0 2rem; background: linear-gradient(135deg,rgba(43,128,212,0.06),rgba(168,200,232,0.12)); border: 1px solid rgba(43,128,212,0.20); }
.answer-box p { margin: 0; }
.article table { width: 100%; border-collapse: collapse; margin: 0 0 1.5rem; font-size: .92rem; }
.article th, .article td { text-align: left; padding: .65rem .75rem; border-bottom: 1px solid rgba(43,128,212,0.14); color: #3d5270; vertical-align: top; }
.article th { color: #1b2d5e; font-weight: 600; background: rgba(43,128,212,0.05); }
.table-scroll { overflow-x: auto; }
.faq dt { font-weight: 600; color: #1b2d5e; margin-top: 1.2rem; }
.faq dd { margin: .35rem 0 0; color: #3d5270; line-height: 1.8; }
.author { display: flex; gap: .9rem; align-items: center; border-radius: 16px; padding: 1rem 1.2rem; margin-top: 2.5rem; }
.author .avatar { width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center; font-weight: 700; color: #fff; background: linear-gradient(135deg,#2b80d4,#1b2d5e); flex-shrink: 0; }
.author p { margin: 0; font-size: .88rem; color: #4b6280; line-height: 1.55; }

/* Section spacing (pb-16 is not in the compiled tailwind.css). */
.sec { padding-bottom: 4.5rem; }
/* The nav's link colour must not override the primary button's white text. */
.site-links a.btn-primary, .site-links a.btn-primary:hover { color: #fff; }
/* Grid items default to min-width:auto, so a 1600px-wide screenshot would
   size the single mobile column to 1600px and push the page off-screen. */
.product-hero, .post-card { grid-template-columns: minmax(0, 1fr); }
.product-hero > *, .post-card > *, .feature-grid > *, .steps > * { min-width: 0; }
@media (min-width: 900px) { .product-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); } }
@media (min-width: 800px) { .post-card { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } }
