Files
sincos.cc-website/website/static/css/style.css
T
admin 678cbf98f8 feat: 首页改版为研究优先的博客风;新增 Serial Terminal / Enthalpy Diagram;下架三个工具;品牌与结构更新
- 首页:主力项目 Sequence-Diagram 大图展示 + 前沿研究三卡 + 工具矩阵(去彩色渐变块)
- 新增工具页:串口调试助手(Android)与湿空气焓湿图(Android),含实机截图
- 下架 Engineer Craft / Five Phases / UniTouch(保留页面与路由)
- 全站品牌 Easy Data Collection → Easy Design Collection(EDC 总品牌)
- 资源中心更名「内部研究」,仅保留 footer 入口
- 导航下拉更新;产品线统计更新为 6
2026-10-10 11:45:30 +08:00

529 lines
25 KiB
CSS

:root {
--brand: #0a6cff;
--brand-dark: #0047b3;
--brand-light: #4d9bff;
--cyan: #22c8ff;
--ink: #0b1526;
--ink-2: #44546a;
--ink-3: #7b8aa3;
--bg: #ffffff;
--bg-soft: #f5f7fb;
--bg-dark: #050b18;
--line: #e6ebf2;
--line-dark: rgba(255, 255, 255, 0.10);
--danger: #d64545;
--ok: #178f5f;
--radius: 16px;
--radius-sm: 10px;
--shadow: 0 18px 50px rgba(10, 35, 80, 0.10);
--shadow-lg: 0 30px 80px rgba(10, 35, 80, 0.16);
--grad: linear-gradient(120deg, #0a6cff 0%, #22c8ff 100%);
--grad-dark: linear-gradient(160deg, #071022 0%, #0b2350 60%, #0a3a7d 100%);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
font-family: -apple-system, BlinkMacSystemFont, "SF Pro SC", "Segoe UI",
"Microsoft YaHei", "PingFang SC", sans-serif;
color: var(--ink);
background: var(--bg);
line-height: 1.65;
-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.container.narrow { max-width: 760px; margin: 0 auto; }
a { color: var(--brand); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--brand-dark); }
/* ------------------------------------------------------------------ */
/* Header / Navigation */
/* ------------------------------------------------------------------ */
.site-header {
position: sticky; top: 0; z-index: 100;
background: rgba(255, 255, 255, 0.82);
backdrop-filter: saturate(180%) blur(18px);
-webkit-backdrop-filter: saturate(180%) blur(18px);
border-bottom: 1px solid rgba(230, 235, 242, 0.9);
}
.header-inner {
display: flex; align-items: center; justify-content: space-between;
min-height: 64px; padding: 10px 0; gap: 12px; position: relative;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); flex-shrink: 0; }
.brand img { width: 28px; height: 28px; border-radius: 8px; }
.brand-name { color: var(--ink); font-size: 1.06rem; font-weight: 700; letter-spacing: -0.01em; white-space: nowrap; }
.nav-toggle {
display: none; margin-left: auto;
background: none; border: 1px solid var(--line); border-radius: 10px;
font-size: 1.15rem; line-height: 1; color: var(--ink);
padding: 7px 12px; cursor: pointer; font-family: inherit;
}
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a { color: var(--ink-2); font-size: 0.92rem; font-weight: 500; white-space: nowrap; }
.main-nav a:hover, .main-nav a.active { color: var(--brand); }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-item > .nav-link { padding: 8px 12px; border-radius: 10px; display: inline-flex; align-items: center; gap: 4px; }
.nav-item > .nav-link:hover { background: rgba(10, 108, 255, 0.06); }
.nav-item > .nav-link.active { color: var(--brand); background: rgba(10, 108, 255, 0.08); }
.nav-caret {
border: 0; background: none; cursor: pointer; font-size: 0.62rem; color: var(--ink-3);
padding: 4px 2px; line-height: 1; font-family: inherit;
}
.nav-item:hover .nav-caret, .nav-item.open .nav-caret { color: var(--brand); }
.dropdown {
position: absolute; top: calc(100% + 10px); left: 0; min-width: 224px;
background: #fff; border: 1px solid var(--line); border-radius: 14px;
box-shadow: var(--shadow); padding: 8px;
opacity: 0; visibility: hidden; transform: translateY(6px);
transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
}
.nav-item:hover > .dropdown, .nav-item.open > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
display: block; padding: 9px 12px; border-radius: 9px;
color: var(--ink-2); font-size: 0.9rem;
}
.dropdown a:hover { background: var(--bg-soft); color: var(--brand); }
.dropdown a.active { color: var(--brand); background: rgba(10, 108, 255, 0.08); }
@media (max-width: 1080px) {
.nav-toggle { display: block; }
.main-nav {
display: none; position: absolute; top: 100%; left: 16px; right: 16px;
background: #fff; border: 1px solid var(--line); border-radius: 16px;
flex-direction: column; align-items: stretch; gap: 2px;
padding: 10px; box-shadow: var(--shadow-lg); max-height: 78vh; overflow: auto;
}
.main-nav.open { display: flex; }
.main-nav > a, .nav-item { display: block; }
.nav-item { width: 100%; flex-wrap: wrap; }
.nav-item > .nav-link { padding: 11px 14px; width: calc(100% - 34px); }
.nav-caret { width: 30px; height: 38px; font-size: 0.7rem; margin-left: auto; }
.dropdown {
position: static; min-width: 0; width: 100%; opacity: 1; visibility: visible;
transform: none; box-shadow: none; border: 0; border-left: 2px solid var(--line);
border-radius: 0; margin: 2px 0 6px 16px; padding: 2px 0 2px 8px;
display: none;
}
.nav-item.open > .dropdown { display: block; }
.nav-item:hover > .dropdown { display: none; }
.nav-item.open:hover > .dropdown { display: block; }
.dropdown a { padding: 8px 10px; font-size: 0.88rem; }
.main-nav > a { padding: 11px 14px; border-radius: 10px; }
.main-nav > a:hover { background: var(--bg-soft); }
}
/* ------------------------------------------------------------------ */
/* Buttons */
/* ------------------------------------------------------------------ */
.btn {
display: inline-block; padding: 12px 26px; border-radius: 12px;
font-weight: 600; font-size: 0.95rem; border: 1px solid transparent;
cursor: pointer; font-family: inherit; text-align: center;
transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 28px rgba(10, 108, 255, 0.28); }
.btn-primary:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 14px 34px rgba(10, 108, 255, 0.34); }
.btn-ghost { background: transparent; color: var(--brand); border-color: rgba(10, 108, 255, 0.45); }
.btn-ghost:hover { background: rgba(10, 108, 255, 0.07); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #eef4ff; color: var(--brand-dark); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.btn-danger { background: #fff; color: var(--danger); border-color: rgba(214, 69, 69, 0.5); }
.btn-danger:hover { background: #fdf0ee; }
.btn-block { width: 100%; }
.btn-sm { padding: 8px 15px; font-size: 0.85rem; border-radius: 9px; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; transform: none; }
/* ------------------------------------------------------------------ */
/* Hero (home, dark) */
/* ------------------------------------------------------------------ */
.hero {
position: relative; overflow: hidden; color: #fff;
background: var(--bg-dark);
max-width: 1200px; width: calc(100% - 56px);
margin: 28px auto 0; border-radius: 26px;
padding: 60px 0 68px;
}
.hero::before {
content: ""; position: absolute; inset: 0;
background-image:
linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
background-size: 56px 56px;
mask-image: radial-gradient(ellipse 90% 80% at 50% 0%, #000 30%, transparent 75%);
-webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 0%, #000 30%, transparent 75%);
}
.hero::after {
content: ""; position: absolute; width: 820px; height: 820px; right: -260px; top: -420px;
background: radial-gradient(circle, rgba(34, 200, 255, 0.30) 0%, rgba(10, 108, 255, 0.12) 45%, transparent 70%);
pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 {
font-size: clamp(1.7rem, 3vw, 2.5rem);
font-weight: 700; line-height: 1.2; letter-spacing: -0.02em;
}
.hero-eyebrow {
display: inline-block; font-size: 0.82rem; font-weight: 600;
letter-spacing: 0.16em; color: #9fd0ff; margin-bottom: 20px;
text-transform: uppercase;
}
.hero-sub { max-width: 660px; margin: 20px 0 32px; color: rgba(235, 244, 255, 0.82); font-size: 1.08rem; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-euler {
position: absolute; right: 7%; top: 42%; transform: translateY(-50%);
font-family: Georgia, "Times New Roman", serif; font-style: italic;
font-size: clamp(1.6rem, 4.5vw, 4rem);
color: rgba(255, 255, 255, 0.07);
pointer-events: none; user-select: none; white-space: nowrap;
}
.hero-euler sup { font-size: 0.6em; }
.hero-stats {
display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
gap: 18px; margin-top: 56px; padding-top: 34px;
border-top: 1px solid var(--line-dark);
}
.hero-stat b { display: block; font-size: 1.6rem; font-weight: 700; letter-spacing: -0.02em; }
.hero-stat span { font-size: 0.86rem; color: rgba(235, 244, 255, 0.62); }
/* Page hero (sub pages, compact dark) */
.page-hero {
position: relative; overflow: hidden; color: #fff;
background: var(--grad-dark);
max-width: 1200px; width: calc(100% - 56px);
margin: 28px auto 0; border-radius: 26px;
padding: 56px 0 60px;
}
.page-hero::after {
content: ""; position: absolute; width: 640px; height: 640px; right: -220px; top: -320px;
background: radial-gradient(circle, rgba(34, 200, 255, 0.22) 0%, transparent 68%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-weight: 700; line-height: 1.22; letter-spacing: -0.02em; }
.page-hero-sub { max-width: 720px; margin: 16px 0 0; color: rgba(235, 244, 255, 0.8); font-size: 1rem; }
.page-hero .hero-actions { margin-top: 28px; }
.page-hero .hero-eyebrow { margin-bottom: 14px; }
.page-hero .hero-stats { margin-top: 44px; }
/* ------------------------------------------------------------------ */
/* Sections & cards */
/* ------------------------------------------------------------------ */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-soft); }
.section-dark { background: var(--bg-dark); color: #fff; }
.section-dark .section-title { color: #fff; border-left-color: var(--cyan); }
.section-dark .section-desc { color: rgba(235, 244, 255, 0.7); }
.section-title {
font-size: clamp(1.4rem, 2.4vw, 1.8rem); color: var(--ink);
font-weight: 700; letter-spacing: -0.01em; margin-bottom: 10px;
}
.section-head.center { text-align: center; }
.section-head.center .section-title { margin-bottom: 12px; }
.section-desc { color: var(--ink-2); margin-bottom: 8px; max-width: 760px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 30px; }
.card {
background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
padding: 28px 26px; transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .icon {
width: 46px; height: 46px; display: flex; align-items: center; justify-content: center;
font-size: 1.35rem; color: var(--brand); border-radius: 13px;
background: linear-gradient(135deg, rgba(10, 108, 255, 0.12), rgba(34, 200, 255, 0.12));
margin-bottom: 16px;
}
.card h3 { font-size: 1.05rem; color: var(--ink); margin-bottom: 8px; }
.card p { font-size: 0.93rem; color: var(--ink-2); }
.card-link { display: block; color: var(--ink); }
.card-link:hover { color: var(--ink); }
.card-link .more { display: inline-block; margin-top: 14px; font-size: 0.9rem; font-weight: 600; color: var(--brand); }
/* Feature rows (Apple style) */
.feature {
display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
padding: 72px 0;
}
.feature + .feature { border-top: 1px solid var(--line); }
.feature.reverse .feature-copy { order: 2; }
.feature.reverse .feature-visual { order: 1; }
.feature-tag {
display: inline-block; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.12em;
text-transform: uppercase; color: var(--brand); margin-bottom: 14px;
}
.feature-copy h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.2; letter-spacing: -0.015em; margin-bottom: 14px; }
.feature-copy p { color: var(--ink-2); margin-bottom: 20px; }
.feature-list { list-style: none; margin: 0 0 24px; display: grid; gap: 10px; }
.feature-list li { position: relative; padding-left: 26px; color: var(--ink-2); font-size: 0.95rem; }
.feature-list li::before {
content: ""; position: absolute; left: 0; top: 0.48em; width: 14px; height: 14px;
border-radius: 50%; background: var(--grad); opacity: 0.9;
}
.feature-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.feature-visual {
position: relative; border-radius: 24px; min-height: 340px;
background: linear-gradient(150deg, var(--v1, #0a6cff), var(--v2, #22c8ff));
overflow: hidden; box-shadow: var(--shadow-lg);
display: flex; align-items: center; justify-content: center;
}
.feature-visual::before {
content: ""; position: absolute; inset: 0;
background-image:
linear-gradient(rgba(255, 255, 255, 0.10) 1px, transparent 1px),
linear-gradient(90deg, rgba(255, 255, 255, 0.10) 1px, transparent 1px);
background-size: 44px 44px;
opacity: 0.5;
}
.feature-visual .visual-glyph {
position: relative; font-size: 5.2rem; color: rgba(255, 255, 255, 0.95);
text-shadow: 0 14px 40px rgba(0, 0, 0, 0.22);
}
.visual-chip {
position: absolute; padding: 9px 16px; border-radius: 999px;
background: rgba(255, 255, 255, 0.92); color: var(--ink);
font-size: 0.82rem; font-weight: 600; box-shadow: 0 10px 26px rgba(3, 20, 45, 0.22);
backdrop-filter: blur(6px);
}
.visual-chip.chip-a { top: 26px; left: 26px; }
.visual-chip.chip-b { bottom: 26px; right: 26px; }
.visual-chip.chip-c { bottom: 26px; left: 26px; }
/* Product grid */
.product-grid {
display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
gap: 20px; margin-top: 34px;
}
.product-card {
display: flex; flex-direction: column; gap: 12px;
background: #fff; border: 1px solid var(--line); border-radius: 20px;
padding: 28px 26px; color: var(--ink);
transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(10, 108, 255, 0.35); color: var(--ink); }
.product-icon {
width: 46px; height: 46px; border-radius: 13px;
display: flex; align-items: center; justify-content: center;
font-size: 1.3rem; color: var(--brand);
background: var(--bg-soft); border: 1px solid var(--line);
}
.product-card h3 { font-size: 1.1rem; letter-spacing: -0.01em; }
.product-card p { font-size: 0.92rem; color: var(--ink-2); flex: 1; }
.product-card .product-link { font-size: 0.9rem; font-weight: 600; color: var(--brand); }
.product-card .product-meta { font-size: 0.78rem; color: var(--ink-3); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
/* Screenshots & figures */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 22px; margin-top: 32px; }
.shot {
background: #071022; border: 1px solid var(--line); border-radius: var(--radius);
overflow: hidden; box-shadow: var(--shadow); margin: 0;
}
.shot img { display: block; width: 100%; height: auto; }
.shot figcaption { padding: 13px 18px; font-size: 0.86rem; color: var(--ink-2); background: #fff; border-top: 1px solid var(--line); }
.shot.wide { grid-column: 1 / -1; }
.shot.contain img { background: #fff; }
.feature-visual.has-image { padding: 0; background: #071022; }
.feature-visual.has-image img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; display: block; }
/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 34px; counter-reset: step; }
.step {
position: relative; background: #fff; border: 1px solid var(--line);
border-radius: var(--radius); padding: 30px 26px 26px;
}
.step::before {
counter-increment: step; content: counter(step, decimal-leading-zero);
position: absolute; top: -16px; left: 24px;
font-size: 0.9rem; font-weight: 700; color: #fff;
background: var(--grad); border-radius: 9px; padding: 5px 12px;
box-shadow: 0 8px 20px rgba(10, 108, 255, 0.3);
}
.step h3 { font-size: 1rem; margin: 6px 0 8px; }
.step p { font-size: 0.9rem; color: var(--ink-2); }
/* Tech pills */
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.pill {
display: inline-block; padding: 7px 15px; border-radius: 999px;
background: rgba(10, 108, 255, 0.08); color: var(--brand-dark);
font-size: 0.84rem; font-weight: 600;
}
.section-dark .pill { background: rgba(255, 255, 255, 0.1); color: #dceaff; }
/* CTA band */
.cta-band {
position: relative; overflow: hidden; border-radius: 26px;
background: var(--grad-dark); color: #fff;
padding: 56px 48px; display: flex; align-items: center; justify-content: space-between;
gap: 28px; flex-wrap: wrap; box-shadow: var(--shadow-lg);
}
.cta-band::after {
content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -220px;
background: radial-gradient(circle, rgba(34, 200, 255, 0.3), transparent 70%);
}
.cta-band h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); letter-spacing: -0.01em; position: relative; z-index: 1; }
.cta-band p { color: rgba(235, 244, 255, 0.78); margin-top: 8px; position: relative; z-index: 1; }
.cta-band .hero-actions { position: relative; z-index: 1; }
/* ------------------------------------------------------------------ */
/* Forms */
/* ------------------------------------------------------------------ */
.form-card {
background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
padding: 34px 32px; margin-top: 30px; box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 7px; }
.form-group input, .form-group select, .form-group textarea {
width: 100%; padding: 11px 14px; border: 1px solid #d8e1ec; border-radius: 11px;
font-size: 0.93rem; font-family: inherit; background: #fbfdff; color: var(--ink);
transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(10, 108, 255, 0.12);
background: #fff;
}
.form-hint { font-size: 0.82rem; color: var(--ink-3); margin-top: 5px; }
.form-tip { margin-top: 14px; font-size: 0.88rem; text-align: center; }
/* Result / alerts */
.alert { padding: 13px 17px; border-radius: 11px; font-size: 0.92rem; margin-top: 16px; display: none; }
.alert.show { display: block; }
.alert-ok { background: #e9f7ef; color: var(--ok); border: 1px solid #b8e6c8; }
.alert-err { background: #fdf0ee; color: var(--danger); border: 1px solid #f2c4be; }
.badge { display: inline-block; padding: 3px 13px; border-radius: 999px; font-size: 0.8rem; font-weight: 600; }
.badge-pending { background: #fef3dc; color: #9a6700; }
.badge-approved { background: #e9f7ef; color: var(--ok); }
.badge-denied { background: #fdf0ee; color: var(--danger); }
/* Admin table */
.toolbar { display: flex; justify-content: space-between; align-items: center; margin: 24px 0 14px; flex-wrap: wrap; gap: 10px; }
.table-wrap { overflow-x: auto; }
table.admin {
width: 100%; border-collapse: collapse; background: #fff;
border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; min-width: 720px;
}
table.admin th, table.admin td { padding: 12px 15px; text-align: left; font-size: 0.9rem; border-bottom: 1px solid var(--line); }
table.admin th { background: var(--bg-soft); color: var(--ink); font-weight: 600; white-space: nowrap; }
table.admin tr:hover td { background: #f7fbff; }
table.admin .actions { white-space: nowrap; }
/* ------------------------------------------------------------------ */
/* Footer */
/* ------------------------------------------------------------------ */
.site-footer { background: var(--bg-dark); color: rgba(214, 230, 247, 0.75); padding: 48px 0 32px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; font-size: 0.86rem; }
.site-footer a { color: rgba(169, 198, 227, 0.9); }
.site-footer a:hover { color: #fff; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 600; }
.footer-brand img { width: 24px; height: 24px; border-radius: 7px; }
.footer-links { display: inline-flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.footer-links .sep { opacity: 0.4; }
.mono { font-family: Consolas, "JetBrains Mono", monospace; letter-spacing: 0.04em; }
/* ------------------------------------------------------------------ */
/* Blog */
/* ------------------------------------------------------------------ */
.breadcrumb { font-size: 0.85rem; color: var(--ink-3); margin-bottom: 16px; }
.breadcrumb a { color: var(--ink-3); }
.breadcrumb a:hover { color: var(--brand); }
.post-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; margin-top: 30px; }
.post-card {
display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
padding: 26px 26px; transition: transform 0.18s ease, box-shadow 0.18s ease; color: var(--ink);
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); }
.post-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.post-date { font-size: 0.8rem; color: var(--ink-3); }
.post-title { font-size: 1.1rem; color: var(--ink); margin-bottom: 8px; letter-spacing: -0.01em; }
.post-excerpt { font-size: 0.9rem; color: var(--ink-2); line-height: 1.6; }
.tag {
display: inline-block; font-size: 0.74rem; color: var(--brand);
background: rgba(10, 108, 255, 0.09); border-radius: 999px; padding: 2px 11px;
}
/* Article */
.article { line-height: 1.85; font-size: 0.98rem; color: var(--ink); margin-top: 22px; }
.article h1, .article h2, .article h3, .article h4 { color: var(--ink); margin: 1.7em 0 0.6em; line-height: 1.4; letter-spacing: -0.01em; }
.article h1 { font-size: 1.6rem; border-bottom: 1px solid var(--line); padding-bottom: 0.3em; }
.article h2 { font-size: 1.3rem; }
.article h3 { font-size: 1.08rem; }
.article p { margin: 0.85em 0; }
.article ul, .article ol { padding-left: 1.5em; margin: 0.85em 0; }
.article li { margin: 0.32em 0; }
.article code { background: #eef4fb; color: #00518f; border-radius: 5px; padding: 1px 6px; font-family: Consolas, monospace; font-size: 0.9em; }
.article pre { background: #071022; color: #d8ecff; border-radius: 14px; padding: 18px 20px; overflow-x: auto; margin: 1.1em 0; }
.article pre code { background: none; color: inherit; padding: 0; }
.article blockquote { border-left: 4px solid var(--brand); background: var(--bg-soft); padding: 12px 18px; margin: 1.1em 0; color: var(--ink-2); border-radius: 0 12px 12px 0; }
.article table { width: 100%; border-collapse: collapse; margin: 1.1em 0; font-size: 0.92rem; }
.article th, .article td { border: 1px solid var(--line); padding: 9px 13px; text-align: left; }
.article th { background: var(--bg-soft); color: var(--ink); }
.article img { max-width: 100%; border-radius: 12px; }
.article a { text-decoration: underline; }
/* ------------------------------------------------------------------ */
/* Utilities / responsive */
/* ------------------------------------------------------------------ */
.kv-inline { display: flex; gap: 20px; flex-wrap: wrap; color: var(--ink-2); font-size: 0.9rem; }
.mt-0 { margin-top: 0; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.text-center { text-align: center; }
.text-soft { color: var(--ink-2); }
@media (max-width: 1024px) {
.feature { grid-template-columns: 1fr; gap: 36px; padding: 56px 0; }
.feature.reverse .feature-copy { order: 1; }
.feature.reverse .feature-visual { order: 2; }
.feature-visual { min-height: 280px; }
}
@media (max-width: 720px) {
.container { padding: 0 18px; }
.form-row { grid-template-columns: 1fr; }
.hero { padding: 44px 0 52px; width: calc(100% - 24px); margin-top: 14px; border-radius: 20px; }
.page-hero { padding: 42px 0 46px; width: calc(100% - 24px); margin-top: 14px; border-radius: 20px; }
.section { padding: 52px 0; }
.hero-actions .btn { width: 100%; }
.feature { padding: 44px 0; }
.cta-band { padding: 40px 28px; }
.post-list { grid-template-columns: 1fr; }
.product-grid { grid-template-columns: 1fr; }
.hero-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
.hero-stats { grid-template-columns: 1fr; }
}