:root {
  --paper: #f4f5f5;
  --paper-warm: #ecece9;
  --ink: #131515;
  --muted: #666b67;
  --line: #d8dbd6;
  --sage: #678577;
  --sage-dark: #3f5f52;
  --mauve: #776181;
  --mauve-soft: #d7ccd9;
  --silver: #c0c3bf;
  --amber: #c9a55b;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(19, 21, 21, 0.11);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(244, 245, 245, 0) 34rem),
    var(--paper);
  color: var(--ink);
  overflow-x: clip;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(19, 21, 21, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(19, 21, 21, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, #000, transparent 72%);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.skip-link {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  z-index: 10;
  transform: translateY(-160%);
  padding: 0.75rem 1rem;
  border: 1px solid var(--ink);
  background: var(--white);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  border-bottom: 1px solid rgba(19, 21, 21, 0.08);
  background: rgba(244, 245, 245, 0.82);
  backdrop-filter: blur(18px);
}

.nav-shell,
.hero-section,
.content-band,
.split-section,
.playbook-section,
.newsletter-section,
.site-footer,
.signal-strip {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.nav-shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 76px;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 780;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(19, 21, 21, 0.16);
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
}

.brand-mark svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.nav-links {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.94rem;
  color: var(--muted);
}

.nav-links a,
.footer-links a {
  transition: color 180ms ease;
}

.nav-links a:hover,
.footer-links a:hover {
  color: var(--ink);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.search-field {
  display: flex;
  align-items: center;
  width: 200px;
  height: 42px;
  gap: 0.5rem;
  padding: 0 0.8rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
}

.search-field svg,
.icon-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.search-field input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}

.icon-link {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.62);
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
  gap: clamp(2rem, 5vw, 5.5rem);
  align-items: center;
  min-height: calc(100svh - 76px);
  padding: clamp(3rem, 7vw, 6.5rem) 0 3.8rem;
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--sage-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 11ch;
  margin-bottom: 1.2rem;
  font-size: clamp(3.2rem, 8vw, 7.3rem);
  line-height: 0.93;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0.9rem;
  font-size: clamp(2rem, 4vw, 4.1rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.65rem;
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  line-height: 1.14;
}

.hero-summary {
  max-width: 38rem;
  margin-bottom: 1.6rem;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.5vw, 1.22rem);
  line-height: 1.65;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.8rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 780;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover,
.post-card:hover,
.playbook-grid a:hover,
.briefing-grid article:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--ink);
  color: var(--paper);
}

.button.primary:hover {
  background: var(--sage-dark);
}

.button.secondary {
  border-color: rgba(19, 21, 21, 0.18);
  background: rgba(255, 255, 255, 0.64);
}

.hero-card {
  overflow: hidden;
  border: 1px solid rgba(19, 21, 21, 0.1);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.hero-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(135deg, rgba(103, 133, 119, 0.14), rgba(119, 97, 129, 0.12)),
    var(--paper-warm);
}

.hero-media img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card.image-unavailable .hero-media img {
  display: none;
}

.hero-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 8%;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.9), transparent 26%),
    linear-gradient(135deg, rgba(103, 133, 119, 0.18), rgba(119, 97, 129, 0.2));
}

.fallback-window {
  position: absolute;
  inset: 14% 28% 22% 12%;
  border: 1px solid rgba(19, 21, 21, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(19, 21, 21, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(19, 21, 21, 0.08) 1px, transparent 1px),
    rgba(255, 255, 255, 0.58);
  background-size: 34px 34px;
  box-shadow: 0 24px 60px rgba(19, 21, 21, 0.13);
}

.fallback-window span {
  position: absolute;
  left: 10%;
  right: 16%;
  height: 10px;
  border-radius: 999px;
  background: rgba(63, 95, 82, 0.42);
}

.fallback-window span:nth-child(1) {
  top: 25%;
  width: 58%;
}

.fallback-window span:nth-child(2) {
  top: 46%;
  width: 76%;
  background: rgba(119, 97, 129, 0.34);
}

.fallback-window span:nth-child(3) {
  top: 67%;
  width: 46%;
}

.fallback-shield {
  position: absolute;
  right: 12%;
  bottom: 14%;
  display: grid;
  place-items: center;
  width: min(24%, 132px);
  aspect-ratio: 1;
  border: 1px solid rgba(19, 21, 21, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.64);
  box-shadow: 0 18px 50px rgba(19, 21, 21, 0.12);
}

.fallback-shield svg {
  width: 54%;
  fill: none;
  stroke: var(--sage-dark);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 5;
}

.hero-card-caption {
  padding: clamp(1.25rem, 3vw, 2rem);
}

.hero-card-caption h2 {
  font-size: clamp(1.6rem, 3vw, 2.7rem);
}

.hero-card-caption p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.article-meta {
  margin-bottom: 0.55rem;
  color: var(--sage-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  margin-bottom: clamp(4rem, 8vw, 7rem);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.signal-strip div {
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.52);
}

.signal-strip strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  line-height: 1;
}

.signal-strip span {
  color: var(--muted);
  font-size: 0.94rem;
}

.content-band,
.split-section,
.playbook-section,
.newsletter-section {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.section-heading h2 {
  max-width: 11ch;
  margin-bottom: 0;
}

.section-heading.compact {
  display: block;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.3rem;
}

.filter-button {
  min-height: 38px;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.54);
  color: var(--muted);
  cursor: pointer;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.filter-button.active,
.filter-button:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.article-list {
  display: grid;
  gap: 1rem;
}

.post-card {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: clamp(1rem, 3vw, 1.7rem);
  align-items: center;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  transition: transform 180ms ease, border-color 180ms ease, opacity 180ms ease;
}

.post-card[hidden] {
  display: none;
}

.post-card:hover {
  border-color: rgba(19, 21, 21, 0.28);
}

.post-image {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0)),
    var(--sage);
}

.post-image::before,
.post-image::after {
  position: absolute;
  content: "";
}

.post-image::before {
  inset: 18%;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 8px;
}

.post-image::after {
  width: 42%;
  height: 42%;
  right: 12%;
  bottom: 12%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
}

.post-image.detection {
  background:
    radial-gradient(circle at 78% 22%, rgba(119, 97, 129, 0.52), transparent 26%),
    linear-gradient(135deg, #2d3f38, #678577);
}

.post-image.identity {
  background:
    radial-gradient(circle at 18% 78%, rgba(201, 165, 91, 0.52), transparent 24%),
    linear-gradient(135deg, #776181, #b4a5bb);
}

.post-image.cloud {
  background:
    radial-gradient(circle at 75% 72%, rgba(255, 255, 255, 0.4), transparent 25%),
    linear-gradient(135deg, #566360, #c0c3bf);
}

.post-image.response {
  background:
    radial-gradient(circle at 20% 26%, rgba(244, 245, 245, 0.45), transparent 24%),
    linear-gradient(135deg, #131515, #776181);
}

.post-copy p {
  color: var(--muted);
  line-height: 1.58;
}

.post-copy p:last-child {
  margin-bottom: 0;
}

.post-copy h3 a {
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.post-copy h3 a:hover {
  text-decoration-line: underline;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.tag-row span {
  padding: 0.32rem 0.55rem;
  border: 1px solid rgba(19, 21, 21, 0.12);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 720;
}

.split-section {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(2rem, 6vw, 5rem);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.briefing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.briefing-grid article {
  min-height: 250px;
  padding: 1.3rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.54);
  transition: transform 180ms ease, border-color 180ms ease;
}

.briefing-grid article:nth-child(2) {
  background: rgba(215, 204, 217, 0.34);
}

.briefing-grid article:nth-child(3) {
  background: rgba(103, 133, 119, 0.14);
}

.briefing-grid p:last-child {
  color: var(--muted);
  line-height: 1.56;
}

.playbook-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.playbook-grid a {
  display: grid;
  min-height: 270px;
  align-content: space-between;
  padding: 1.35rem;
  border: 1px solid rgba(19, 21, 21, 0.18);
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
  transition: transform 180ms ease, background 180ms ease;
}

.playbook-grid a:nth-child(2) {
  background: var(--sage-dark);
}

.playbook-grid a:nth-child(3) {
  background: #5c4c64;
}

.playbook-grid span {
  color: rgba(244, 245, 245, 0.58);
  font-size: 0.9rem;
  font-weight: 800;
}

.playbook-grid strong {
  align-self: end;
  font-size: clamp(1.55rem, 3vw, 2.3rem);
  line-height: 1;
}

.playbook-grid em {
  color: rgba(244, 245, 245, 0.7);
  font-style: normal;
  line-height: 1.5;
}

.newsletter-section {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 0.85fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  margin-bottom: clamp(3rem, 6vw, 5rem);
  padding-inline: clamp(1.2rem, 4vw, 3rem);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(103, 133, 119, 0.13), rgba(119, 97, 129, 0.16)),
    rgba(255, 255, 255, 0.52);
}

.newsletter-section h2 {
  max-width: 12ch;
}

.newsletter-section p {
  max-width: 44rem;
  color: var(--muted);
  line-height: 1.6;
}

.newsletter-form label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 760;
}

.newsletter-form div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.6rem;
}

.newsletter-form input {
  min-width: 0;
  min-height: 46px;
  padding: 0.78rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink);
}

.form-message {
  min-height: 1.4em;
  margin: 0.65rem 0 0;
  color: var(--sage-dark);
  font-size: 0.94rem;
  font-weight: 720;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--line);
}

.footer-brand {
  margin-bottom: 0.85rem;
}

.site-footer p {
  max-width: 30rem;
  margin-bottom: 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: end;
  gap: 1rem;
  color: var(--muted);
}

@media (max-width: 940px) {
  .nav-shell {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero-section,
  .split-section,
  .newsletter-section {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
  }

  h1 {
    max-width: 12ch;
  }

  .briefing-grid,
  .playbook-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .nav-shell,
  .hero-section,
  .content-band,
  .split-section,
  .playbook-section,
  .newsletter-section,
  .site-footer,
  .signal-strip {
    width: min(100% - 24px, 1180px);
  }

  .nav-shell {
    min-height: 68px;
    gap: 0.8rem;
  }

  .brand span:last-child {
    display: none;
  }

  .search-field {
    width: min(44vw, 190px);
  }

  .hero-section {
    padding-top: 2.5rem;
  }

  h1 {
    max-width: 7ch;
    font-size: clamp(2.75rem, 14.5vw, 4.05rem);
    line-height: 0.98;
  }

  .eyebrow {
    max-width: 32ch;
    font-size: 0.7rem;
    line-height: 1.45;
    overflow-wrap: anywhere;
  }

  .hero-summary,
  .hero-card-caption p,
  .post-copy p,
  .newsletter-section p {
    max-width: 34ch;
  }

  .signal-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-heading {
    display: block;
  }

  .section-heading h2 {
    margin-bottom: 1rem;
  }

  .post-card {
    grid-template-columns: 1fr;
  }

  .newsletter-form div,
  .site-footer {
    display: block;
  }

  .newsletter-form .button {
    width: 100%;
    margin-top: 0.6rem;
  }

  .footer-links {
    justify-content: start;
    margin-top: 1.5rem;
  }
}
