:root {
  --bg: #070909;
  --soft: #0d1010;
  --card: #111515;
  --hover: #151a19;

  --border: rgba(255, 255, 255, 0.08);
  --border2: rgba(255, 255, 255, 0.13);

  --text: #f4f7f5;
  --muted: #929b97;

  --green: #7cffb2;

  --max: 1180px;
}


* {
  box-sizing: border-box;
}


html {
  scroll-behavior: smooth;
}


body {
  margin: 0;

  background: var(--bg);
  color: var(--text);

  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  line-height: 1.65;
}


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


button,
input {
  font: inherit;
}


button {
  color: inherit;
}


.container {
  width: min(
    var(--max),
    calc(100% - 48px)
  );

  margin: auto;
}



/* =========================
   NAVIGATION
========================= */

.navbar {
  position: sticky;

  top: 0;

  z-index: 50;

  background: rgba(7, 9, 9, 0.88);

  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);

  border-bottom:
    1px solid var(--border);
}


.nav {
  height: 72px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 25px;
}


.brand {
  display: flex;

  align-items: center;

  gap: 10px;

  font-weight: 750;
}


.dot {
  width: 13px;
  height: 13px;

  border-radius: 50%;

  background: var(--green);

  box-shadow:
    0 0 20px rgba(124, 255, 178, 0.55);
}


.links {
  display: flex;

  gap: 25px;

  color: var(--muted);

  font-size: 14px;
}


.links a {
  transition:
    color 0.2s ease;
}


.links a:hover,
.links .active-link {
  color: var(--text);
}



/* =========================
   BUTTONS
========================= */

.button {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  min-height: 46px;

  padding: 0 20px;

  border-radius: 11px;

  font-size: 14px;

  font-weight: 750;

  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}


.primary {
  background: var(--green);

  color: #07100a;
}


.primary:hover {
  background: #9affc4;

  transform:
    translateY(-1px);
}


.secondary {
  border:
    1px solid var(--border2);

  background:
    rgba(255, 255, 255, 0.035);
}


.secondary:hover {
  border-color:
    rgba(255, 255, 255, 0.2);

  background:
    rgba(255, 255, 255, 0.06);
}



/* =========================
   LEARN HERO
========================= */

.hero {
  position: relative;

  overflow: visible;

  padding:
    105px 0 90px;

  border-bottom:
    1px solid var(--border);
}


.hero::before {
  content: "";

  position: absolute;

  z-index: -1;

  width: 700px;
  height: 500px;

  left: 50%;
  top: -300px;

  transform:
    translateX(-50%);

  background:
    radial-gradient(
      circle,
      rgba(124, 255, 178, 0.12),
      transparent 68%
    );
}


.eyebrow {
  position: relative;

  display: inline-block;

  margin-bottom: 16px;

  color: var(--green);

  font-size: 12px;

  font-weight: 800;

  letter-spacing: 0.14em;

  text-transform: uppercase;
}


.hero h1 {
  position: relative;

  max-width: 800px;

  margin: 0;

  font-size:
    clamp(52px, 7vw, 86px);

  line-height: 0.98;

  letter-spacing: -0.055em;
}


.hero > .container > p {
  position: relative;

  max-width: 690px;

  margin:
    26px 0 0;

  color: var(--muted);

  font-size: 19px;
}



/* =========================
   PROFESSIONAL SEARCH
========================= */

.search-area {
  position: relative;

  z-index: 20;

  max-width: 720px;

  margin-top: 38px;
}


.search {
  position: relative;

  z-index: 2;

  display: flex;

  align-items: center;

  width: 100%;

  min-height: 64px;

  padding:
    0 13px 0 18px;

  border:
    1px solid
    rgba(255, 255, 255, 0.13);

  border-radius: 16px;

  background:
    linear-gradient(
      180deg,
      rgba(20, 25, 24, 0.97),
      rgba(14, 18, 17, 0.97)
    );

  box-shadow:
    0 18px 50px
    rgba(0, 0, 0, 0.2);

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}


.search:focus-within,
.search.search-open {
  border-color:
    rgba(124, 255, 178, 0.5);

  background:
    #111615;

  box-shadow:
    0 0 0 4px
    rgba(124, 255, 178, 0.055),
    0 24px 60px
    rgba(0, 0, 0, 0.3);
}


.search-icon {
  width: 23px;
  height: 23px;

  flex-shrink: 0;

  color: #7f8984;

  transition:
    color 0.2s ease;
}


.search-icon svg {
  display: block;

  width: 100%;
  height: 100%;
}


.search:focus-within .search-icon {
  color: var(--green);
}


.search input {
  width: 100%;

  height: 62px;

  padding:
    0 15px;

  border: 0;

  outline: 0;

  background:
    transparent;

  color: var(--text);

  font-size: 15px;
}


.search input::placeholder {
  color: #6f7874;
}


.search input::-webkit-search-cancel-button {
  cursor: pointer;

  filter:
    invert(0.7);
}


.search-shortcut {
  display: flex;

  align-items: center;

  justify-content: center;

  width: 31px;
  height: 31px;

  flex-shrink: 0;

  border:
    1px solid
    rgba(255, 255, 255, 0.1);

  border-radius: 8px;

  background:
    rgba(255, 255, 255, 0.035);

  color: #7d8682;

  font-size: 13px;

  font-weight: 700;
}



/* SEARCH DROPDOWN */

.search-results {
  position: absolute;

  z-index: 30;

  top: calc(100% + 10px);

  left: 0;

  width: 100%;

  overflow: hidden;

  border:
    1px solid
    rgba(255, 255, 255, 0.12);

  border-radius: 16px;

  background:
    rgba(13, 17, 16, 0.985);

  box-shadow:
    0 30px 80px
    rgba(0, 0, 0, 0.5);

  backdrop-filter:
    blur(25px);

  -webkit-backdrop-filter:
    blur(25px);
}


.search-results[hidden] {
  display: none;
}


.search-results-header {
  display: flex;

  align-items: center;

  justify-content: space-between;

  padding:
    14px 17px;

  border-bottom:
    1px solid var(--border);

  color: #707a75;

  font-size: 11px;

  font-weight: 700;

  letter-spacing: 0.06em;

  text-transform: uppercase;
}


.search-results-list {
  max-height: 390px;

  overflow-y: auto;

  padding: 7px;
}


.search-result-item {
  display: flex;

  align-items: center;

  gap: 14px;

  width: 100%;

  padding: 14px;

  border-radius: 11px;

  transition:
    background 0.15s ease;
}


a.search-result-item:hover {
  background:
    rgba(255, 255, 255, 0.045);
}


.search-result-icon {
  display: flex;

  align-items: center;

  justify-content: center;

  width: 38px;
  height: 38px;

  flex-shrink: 0;

  border:
    1px solid
    rgba(124, 255, 178, 0.13);

  border-radius: 10px;

  background:
    rgba(124, 255, 178, 0.055);

  color: var(--green);

  font-size: 15px;
}


.search-result-content {
  min-width: 0;

  flex: 1;
}


.search-result-top {
  display: flex;

  align-items: center;

  gap: 9px;

  margin-bottom: 3px;
}


.search-result-category {
  color: var(--green);

  font-size: 9px;

  font-weight: 800;

  letter-spacing: 0.09em;

  text-transform: uppercase;
}


.search-result-status {
  padding:
    2px 6px;

  border:
    1px solid var(--border);

  border-radius: 5px;

  color: #69726e;

  font-size: 9px;

  font-weight: 700;

  text-transform: uppercase;
}


.search-result-content strong {
  display: block;

  overflow: hidden;

  color: #e7ece9;

  font-size: 14px;

  line-height: 1.35;

  text-overflow: ellipsis;

  white-space: nowrap;
}


.search-result-content p {
  overflow: hidden;

  margin:
    4px 0 0;

  color: #737c78;

  font-size: 11px;

  line-height: 1.4;

  text-overflow: ellipsis;

  white-space: nowrap;
}


.search-result-arrow {
  color: #727b77;

  font-size: 16px;

  transition:
    transform 0.15s ease,
    color 0.15s ease;
}


a.search-result-item:hover
.search-result-arrow {
  color: var(--green);

  transform:
    translateX(3px);
}


.search-result-coming {
  opacity: 0.55;

  cursor: default;
}


.search-empty {
  display: flex;

  flex-direction: column;

  align-items: center;

  padding:
    38px 20px;

  text-align: center;
}


.search-empty[hidden] {
  display: none;
}


.search-empty-icon {
  display: flex;

  align-items: center;

  justify-content: center;

  width: 44px;
  height: 44px;

  margin-bottom: 13px;

  border:
    1px solid var(--border);

  border-radius: 12px;

  background:
    rgba(255, 255, 255, 0.025);

  color: #66706b;

  font-size: 21px;
}


.search-empty strong {
  color: #cbd2ce;

  font-size: 14px;
}


.search-empty span {
  margin-top: 4px;

  color: #68716d;

  font-size: 12px;
}


.search-results-footer {
  display: flex;

  align-items: center;

  gap: 18px;

  padding:
    10px 17px;

  border-top:
    1px solid var(--border);

  background:
    rgba(255, 255, 255, 0.015);

  color: #606965;

  font-size: 10px;
}



/* POPULAR SEARCHES */

.popular-searches {
  display: flex;

  align-items: center;

  flex-wrap: wrap;

  gap: 8px;

  max-width: 720px;

  margin-top: 14px;

  color: #66706b;

  font-size: 11px;
}


.popular-searches > span {
  margin-right: 2px;
}


.popular-searches button {
  padding:
    5px 9px;

  border:
    1px solid
    rgba(255, 255, 255, 0.07);

  border-radius: 7px;

  background:
    rgba(255, 255, 255, 0.02);

  color: #7c8581;

  font-size: 10px;

  cursor: pointer;

  transition:
    border-color 0.15s ease,
    color 0.15s ease,
    background 0.15s ease;
}


.popular-searches button:hover {
  border-color:
    rgba(124, 255, 178, 0.2);

  background:
    rgba(124, 255, 178, 0.04);

  color: #b7c3bd;
}



/* =========================
   SECTIONS
========================= */

.section {
  padding:
    90px 0;
}


.soft {
  background:
    var(--soft);

  border-block:
    1px solid var(--border);
}


.heading {
  max-width: 700px;

  margin-bottom: 38px;
}


.heading h2 {
  margin:
    0 0 12px;

  font-size:
    clamp(36px, 5vw, 54px);

  line-height: 1.05;

  letter-spacing: -0.045em;
}


.heading p {
  margin: 0;

  color: var(--muted);
}



/* =========================
   CATEGORY CHIPS
========================= */

.chips {
  display: flex;

  flex-wrap: wrap;

  gap: 10px;

  margin-bottom: 35px;
}


.chip {
  padding:
    9px 13px;

  border:
    1px solid var(--border);

  border-radius: 999px;

  background:
    var(--card);

  color: #c7cfcb;

  font-size: 12px;
}



/* =========================
   ARTICLE CARDS
========================= */

.grid {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 16px;
}


.card {
  display: flex;

  flex-direction: column;

  min-height: 270px;

  padding: 28px;

  border:
    1px solid var(--border);

  border-radius: 18px;

  background:
    var(--card);

  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease;
}


a.card:hover {
  transform:
    translateY(-4px);

  border-color:
    rgba(124, 255, 178, 0.18);

  background:
    var(--hover);

  box-shadow:
    0 22px 50px
    rgba(0, 0, 0, 0.18);
}


.card .tag {
  color:
    var(--green);

  font-size: 11px;

  font-weight: 800;

  letter-spacing: 0.1em;

  text-transform: uppercase;
}


.card h3 {
  margin:
    22px 0 10px;

  font-size: 21px;

  line-height: 1.25;
}


.card p {
  margin: 0;

  color: var(--muted);

  font-size: 14px;
}


.card .read {
  display: flex;

  align-items: center;

  gap: 7px;

  margin-top: auto;

  padding-top: 28px;

  font-size: 13px;

  font-weight: 700;
}


.card .read span {
  transition:
    transform 0.2s ease;
}


a.card:hover
.read span {
  transform:
    translateX(4px);
}


.coming {
  opacity: 0.62;
}



/* =========================
   CTA
========================= */

.cta {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 40px;

  padding: 52px;

  border:
    1px solid
    rgba(124, 255, 178, 0.17);

  border-radius: 24px;

  background:
    radial-gradient(
      circle at 85% 15%,
      rgba(124, 255, 178, 0.10),
      transparent 35%
    ),
    var(--card);
}


.cta h2 {
  margin:
    0 0 10px;

  font-size: 38px;

  letter-spacing: -0.04em;
}


.cta p {
  max-width: 650px;

  margin: 0;

  color: var(--muted);
}


.actions {
  display: flex;

  flex-shrink: 0;

  gap: 10px;
}



/* =========================
   FOOTER
========================= */

footer {
  padding:
    55px 0 28px;

  border-top:
    1px solid var(--border);
}


.footer {
  display: flex;

  justify-content: space-between;

  gap: 30px;

  color: var(--muted);

  font-size: 13px;
}


.footer-links {
  display: flex;

  gap: 22px;
}



/* =========================
   ARTICLE PAGE
   KEEP EXISTING ARTICLE
   STYLING WORKING
========================= */

.article-hero {
  padding:
    70px 0 48px;

  border-bottom:
    1px solid var(--border);

  background:
    radial-gradient(
      circle at 50% -30%,
      rgba(124, 255, 178, 0.09),
      transparent 45%
    );
}


.crumbs {
  margin-bottom: 28px;

  color: var(--muted);

  font-size: 13px;
}


.article-hero h1 {
  max-width: 920px;

  margin: 0;

  font-size:
    clamp(44px, 6vw, 72px);

  line-height: 1.02;

  letter-spacing: -0.052em;
}


.deck {
  max-width: 760px;

  margin:
    22px 0 0;

  color: var(--muted);

  font-size: 19px;
}


.meta {
  display: flex;

  gap: 16px;

  margin-top: 25px;

  color: #6f7974;

  font-size: 12px;
}


.layout {
  display: grid;

  grid-template-columns:
    220px minmax(0, 760px);

  justify-content: center;

  gap: 65px;

  padding:
    65px 24px 100px;
}


.toc {
  position: sticky;

  top: 100px;

  align-self: start;
}


.toc strong {
  font-size: 12px;

  letter-spacing: 0.1em;

  text-transform: uppercase;
}


.toc a {
  display: block;

  margin-top: 12px;

  color: var(--muted);

  font-size: 13px;
}


.toc a:hover {
  color: var(--green);
}


.body h2 {
  scroll-margin-top: 100px;

  margin:
    58px 0 14px;

  font-size: 32px;

  line-height: 1.18;

  letter-spacing: -0.035em;
}


.body h2:first-child {
  margin-top: 0;
}


.body h3 {
  margin:
    34px 0 10px;

  font-size: 21px;
}


.body p,
.body li {
  color: #bac3be;

  font-size: 17px;
}


.body ul {
  padding-left: 22px;
}


.formula,
.example,
.article-cta {
  margin:
    26px 0;

  padding: 24px;

  border:
    1px solid var(--border2);

  border-radius: 15px;

  background:
    var(--card);
}


.formula {
  border-color:
    rgba(124, 255, 178, 0.18);

  background:
    rgba(124, 255, 178, 0.045);

  color: #dcffe9;

  font-family: monospace;
}


.article-cta {
  margin:
    50px 0;

  background:
    radial-gradient(
      circle at 90% 10%,
      rgba(124, 255, 178, 0.08),
      transparent 35%
    ),
    var(--card);
}


.article-cta h3 {
  margin-top: 0;
}


.ad {
  margin:
    40px 0;

  padding: 18px;

  border:
    1px dashed var(--border2);

  border-radius: 12px;

  color: #5f6864;

  font-size: 11px;

  letter-spacing: 0.08em;

  text-align: center;

  text-transform: uppercase;
}


.faq {
  margin-top: 25px;

  border-top:
    1px solid var(--border);
}


.faq-item {
  padding:
    22px 0;

  border-bottom:
    1px solid var(--border);
}


.faq-item h3,
.faq-item p {
  margin: 0;
}


.faq-item h3 {
  margin-bottom: 8px;
}



/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {

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


  .cta {
    align-items: flex-start;

    flex-direction: column;
  }


  .layout {
    grid-template-columns: 1fr;

    gap: 20px;
  }


  .toc {
    position: static;

    padding-bottom: 25px;

    border-bottom:
      1px solid var(--border);
  }

}



@media (max-width: 650px) {

  .container {
    width:
      min(
        100% - 30px,
        var(--max)
      );
  }


  .links {
    display: none;
  }


  .nav {
    height: 66px;
  }


  .nav > .button {
    min-height: 40px;

    padding:
      0 14px;

    font-size: 12px;
  }


  .hero {
    padding:
      70px 0 65px;
  }


  .hero h1 {
    font-size: 49px;
  }


  .hero > .container > p {
    font-size: 16px;
  }


  .search-area {
    margin-top: 30px;
  }


  .search {
    min-height: 58px;

    border-radius: 14px;
  }


  .search input {
    height: 56px;

    padding:
      0 11px;

    font-size: 14px;
  }


  .search-shortcut {
    display: none;
  }


  .search-results {
    border-radius: 14px;
  }


  .search-result-item {
    padding:
      12px 10px;
  }


  .search-result-content p {
    display: none;
  }


  .search-results-footer {
    display: none;
  }


  .popular-searches {
    gap: 6px;

    margin-top: 12px;
  }


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


  .section {
    padding:
      70px 0;
  }


  .cta {
    padding:
      34px 28px;
  }


  .cta h2 {
    font-size: 31px;
  }


  .actions {
    width: 100%;

    flex-direction: column;
  }


  .actions .button {
    width: 100%;
  }


  .footer {
    flex-direction: column;
  }


  .footer-links {
    flex-wrap: wrap;
  }


  .layout {
    padding:
      45px 15px 80px;
  }


  .body p,
  .body li {
    font-size: 16px;
  }


  .article-hero h1 {
    font-size: 44px;
  }

}
.brand-logo {
  width: 36px;
  height: 36px;
  display: block;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}
