:root {
  --bg: #1f1f1f;
  --surface: #2a2a2a;
  --text: #f5f5f5;
  --muted: #c5c5c5;
  --line: #3a3a3a;
  --accent-red: #f14f44;
  --accent-red-soft: #e24c4a;
  --accent-blue: #386bb7;
  --max: 860px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Manrope", Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% -5%, rgba(241, 79, 68, 0.18), transparent 35%),
    radial-gradient(circle at 95% 12%, rgba(56, 107, 183, 0.2), transparent 40%),
    linear-gradient(180deg, #1c1c1c 0%, #181818 100%);
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.container {
  width: min(1160px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(8px);
  background: rgba(27, 27, 27, 0.78);
  border-bottom: 1px solid rgba(245, 245, 245, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  font-family: "Sora", Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-logo {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
}

.brand-dot {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.05rem;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 180ms ease, box-shadow 180ms ease;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.btn-primary {
  color: #fff;
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 0 0 1px rgba(241, 79, 68, 0.08);
}

.btn-primary:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(241, 79, 68, 0.26);
}

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
}

article {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 18px;
  padding: 1.25rem;
  margin: 1rem 0 2rem;
}

h1, h2, h3 {
  font-family: "Sora", Arial, Helvetica, sans-serif;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0.2rem 0 0.9rem; }
h2 { font-size: 1.3rem; margin-top: 1.4rem; }

.meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
}

p { margin: 0.7rem 0; }

ul { margin: 0.6rem 0; padding-left: 1.15rem; }

ol { margin: 0.6rem 0; padding-left: 1.15rem; }

li { margin: 0.3rem 0; }

table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.9rem 0 0.2rem;
}

th,
td {
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.65rem;
  text-align: left;
  vertical-align: top;
}

th {
  background: rgba(255, 255, 255, 0.05);
  font-family: "Sora", Arial, Helvetica, sans-serif;
  font-size: 0.92rem;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.7rem;
  margin: 0.9rem 0 0.2rem;
}

.mini-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.75rem;
}

.mini-card strong {
  display: block;
  font-family: "Sora", Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

.cta-panel {
  border: 1px solid rgba(241, 79, 68, 0.35);
  border-radius: 14px;
  background: linear-gradient(150deg, rgba(241, 79, 68, 0.1), rgba(56, 107, 183, 0.1));
  padding: 1rem;
  margin-top: 1.3rem;
}

.cta-panel h2,
.cta-panel h3 {
  margin-top: 0;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.8rem;
}

.callout {
  border-left: 3px solid var(--accent-red);
  padding: 0.8rem 0.9rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
}

.posts {
  display: grid;
  gap: 1rem;
}

.post-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 1rem;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.02);
}

.post-card:hover {
  border-color: rgba(241, 79, 68, 0.38);
}

.post-card h2 {
  margin-top: 0;
}

.post-card .read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  margin-top: 0.25rem;
  padding: 0.58rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.post-card .read-more:hover {
  transform: translateY(-2px);
  border-color: rgba(241, 79, 68, 0.28);
  background: rgba(255, 255, 255, 0.06);
}

.post-card .read-more::before,
.product-link::before {
  content: "";
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 14a5 5 0 0 1 0-7l1.5-1.5a5 5 0 1 1 7.1 7.1L17 14'/%3E%3Cpath d='M14 10a5 5 0 0 1 0 7L12.5 18.5a5 5 0 1 1-7.1-7.1L7 10'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 14a5 5 0 0 1 0-7l1.5-1.5a5 5 0 1 1 7.1 7.1L17 14'/%3E%3Cpath d='M14 10a5 5 0 0 1 0 7L12.5 18.5a5 5 0 1 1-7.1-7.1L7 10'/%3E%3C/svg%3E") center/contain no-repeat;
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  padding: 0.58rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.product-link:hover {
  transform: translateY(-2px);
  border-color: rgba(241, 79, 68, 0.28);
  background: rgba(255, 255, 255, 0.06);
}

.post-card p { color: var(--muted); margin: 0.45rem 0 0; }

footer {
  color: #a9a9a9;
  padding: 2rem 0 2.6rem;
  font-size: 0.92rem;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  margin-top: 1.6rem;
}

@media (max-width: 840px) {
  .nav-links {
    display: none;
  }

  th,
  td {
    font-size: 0.92rem;
  }
}
