* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--ink);
  background: #fff;
  font-weight: 400;
}
h1, h2, h3, p { margin: 0; }
h1, h2 { font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: clamp(42px, 6vw, 72px); line-height: 1.02; }
h2 { font-size: clamp(30px, 3.5vw, 44px); line-height: 1.08; }
h3 { font-size: 24px; line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; }
p { color: var(--body); font-size: 18px; line-height: 1.72; }
a { color: inherit; }
.nav {
  position: sticky;
  top: 24px;
  z-index: 20;
  width: calc(100% - 64px);
  max-width: 1240px;
  min-height: 88px;
  margin: 24px auto 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px 10px 28px;
  border: 1px solid rgba(17,17,17,.08);
  border-radius: var(--logo-corner-inner);
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
}
.logo { width: 214px; max-width: 48vw; display: block; }
.nav-links { display: flex; align-items: center; gap: 12px; margin-left: auto; padding: 0; }
.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1;
  font-weight: 400;
  text-decoration: none;
  transition: color .18s ease, background .18s ease, transform .18s ease;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--orange);
  background: rgba(24,104,220,.08);
  transform: translateY(-1px);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-size: 16px;
  line-height: 1;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(0,0,0,.04), 0 8px 30px rgba(24,104,220,.22);
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-2px); background: #1459c4; box-shadow: 0 1px 3px rgba(0,0,0,.05), 0 12px 36px rgba(24,104,220,.26); }
.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  margin-left: auto;
  border: 0;
  border-radius: 999px;
  background: var(--orange);
  box-shadow: 0 1px 3px rgba(0,0,0,.04), 0 8px 30px rgba(24,104,220,.2);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  position: relative;
}
.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
  transition: transform .18s ease, opacity .18s ease;
}
.menu-toggle span { transform: translate(-50%, -50%); }
.menu-toggle::before { transform: translate(-50%, calc(-50% - 6px)); }
.menu-toggle::after { transform: translate(-50%, calc(-50% + 6px)); }
.menu-toggle[aria-expanded="true"] span { opacity: 0; }
.menu-toggle[aria-expanded="true"]::before { transform: translate(-50%, -50%) rotate(45deg); }
.menu-toggle[aria-expanded="true"]::after { transform: translate(-50%, -50%) rotate(-45deg); }
.mobile-menu {
  display: grid;
  gap: 8px;
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: min(300px, calc(100vw - 28px));
  padding: 14px;
  border: 1px solid rgba(17,17,17,.08);
  border-radius: var(--logo-corner-inner);
  background: rgba(255,255,255,.96);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1;
  font-weight: 400;
  text-decoration: none;
}
.mobile-menu a:not(.btn):hover,
.mobile-menu a[aria-current="page"] { background: rgba(24,104,220,.08); color: var(--orange); }
.mobile-menu .btn { width: 100%; margin-top: 6px; color: #fff; }
.blog-shell {
  width: calc(100% - 64px);
  max-width: 1120px;
  margin: 118px auto 0;
}
.blog-header {
  max-width: 760px;
  margin-bottom: 56px;
}
.blog-header p {
  margin-top: 18px;
  font-size: 22px;
  line-height: 1.56;
}
.post-list {
  display: grid;
  gap: 24px;
}
.post-card {
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  gap: 30px;
  align-items: center;
  padding: 24px;
  border-radius: var(--logo-corner-card);
  color: inherit;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.post-card:hover { transform: translateY(-3px); box-shadow: 0 1px 3px rgba(0,0,0,.05), 0 14px 38px rgba(0,0,0,.08); }
.post-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--logo-corner-inner);
  background: var(--warm);
}
.post-card-meta,
.post-meta {
  color: rgba(17,17,17,.58);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.post-card h2 { margin-top: 10px; font-size: clamp(28px, 3vw, 40px); }
.post-card p { margin-top: 12px; font-size: 17px; line-height: 1.58; }
.post-shell {
  width: calc(100% - 64px);
  max-width: 700px;
  margin: 110px auto 0;
}
.post-header { display: grid; gap: 18px; }
.post-description { font-size: 22px; line-height: 1.56; }
.post-hero,
.post-content img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--logo-corner-inner);
  background: var(--warm);
}
.post-hero { margin-top: 36px; }
.post-content {
  margin-top: 52px;
  display: grid;
  gap: 24px;
}
.post-content ol {
  margin: 0;
  padding-left: 28px;
  display: grid;
  gap: 10px;
  color: var(--body);
  font-size: 18px;
  line-height: 1.65;
}
.post-content figure {
  margin: 26px 0;
}
.post-content figcaption {
  margin-top: 12px;
  color: rgba(17,17,17,.58);
  font-size: 14px;
  line-height: 1.45;
}
.post-content a { color: var(--orange); font-weight: 700; }
.post-cta {
  margin-top: 64px;
  padding: 42px;
  border-radius: var(--logo-corner-card);
  background: var(--ink);
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow);
}
.post-cta h2,
.post-cta p { color: #fff; }
.post-cta p {
  margin: 14px auto 26px;
  max-width: 520px;
  color: #e8e8e8;
  font-size: 20px;
  line-height: 1.5;
}
footer {
  width: calc(100% - 64px);
  max-width: 1180px;
  margin: 130px auto 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #606060;
  font-size: 15px;
}
footer a { color: inherit; text-decoration: none; transition: color .18s ease; }
footer a:hover { color: var(--orange); }
footer img { width: 180px; height: auto; object-fit: contain; }
@media (max-width: 820px) {
  .nav { width: calc(100% - 28px); min-height: 72px; top: 14px; margin-top: 14px; padding: 8px 10px 8px 16px; border-radius: var(--logo-corner-inner); }
  .logo { width: 150px; }
  .nav-links { display: none; }
  .nav > .btn { display: none; }
  .menu-toggle { display: inline-flex; }
  .blog-shell,
  .post-shell { width: calc(100% - 32px); margin-top: 84px; }
  .blog-header { margin-bottom: 38px; }
  .blog-header p,
  .post-description { font-size: 18px; line-height: 1.58; }
  .post-card {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 18px;
    border-radius: 28px;
  }
  .post-card img,
  .post-hero,
  .post-content img { border-radius: 24px; }
  .post-content { margin-top: 40px; gap: 22px; }
  .post-content p,
  .post-content ol { font-size: 17px; line-height: 1.68; }
  .post-cta { padding: 32px 24px; border-radius: 28px; }
  footer { width: calc(100% - 28px); margin-top: 96px; flex-direction: column; align-items: center; justify-content: flex-start; gap: 18px; text-align: center; }
}
