:root {
  color-scheme: dark;
  --guide-page: #000;
  --guide-panel: #111;
  --guide-panel-soft: #0b0b0b;
  --guide-text: #f5f5f5;
  --guide-muted: #999;
  --guide-muted-strong: #c7c7c7;
  --guide-line: rgba(255, 255, 255, .13);
  --guide-line-strong: rgba(255, 255, 255, .23);
  --guide-purple: #9a6cff;
  --guide-blue: #67d8ff;
  --guide-green: #10de21;
  --guide-orange: #ff7a1a;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 72% -12%, rgba(103, 216, 255, .08), transparent 31rem),
    radial-gradient(circle at 24% 0%, rgba(154, 108, 255, .075), transparent 28rem),
    var(--guide-page);
  color: var(--guide-text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: .75rem .5rem .5rem;
  display: flex;
  justify-content: center;
}

.navbar {
  box-sizing: border-box;
  min-height: 62px;
  align-items: center;
}

.navbar-brand > div,
#nav-menu,
.navbar .order-1 {
  align-items: center;
}

.actionclip-logo-img,
.navbar-brand img,
.footer-logo-img {
  width: 40px !important;
  height: 40px !important;
  border: 0 !important;
  border-radius: 9px;
  box-shadow: none !important;
  background: transparent !important;
  outline: 0 !important;
}

.btn-header {
  min-height: 42px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding-top: .65rem !important;
  padding-bottom: .65rem !important;
}

.apple,
.dark .apple {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-image: none;
  width: 1.12rem;
  height: 1.12rem;
  margin-right: .62rem;
  color: #000;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1;
}

.nav-link-external {
  display: flex;
  align-items: center;
  gap: .3rem;
}

.nav-external-icon {
  width: .85rem;
  height: .85rem;
  stroke: currentColor;
  stroke-width: 1.8;
  opacity: .65;
  flex: 0 0 auto;
}

.guides-main {
  width: min(100%, 1180px);
  min-height: calc(100vh - 260px);
  margin: 0 auto;
  padding: clamp(82px, 10vw, 128px) 24px 132px;
}

.guides-hero {
  max-width: 820px;
  margin-bottom: 58px;
}

.guide-eyebrow {
  margin: 0 0 17px;
  color: var(--guide-green);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: .8rem;
  font-weight: 750;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.guides-hero h1,
.article-header h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(2.7rem, 6.5vw, 5rem);
  font-weight: 900;
  line-height: 1.01;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.guides-hero > p:not(.guide-eyebrow) {
  max-width: 670px;
  margin: 24px 0 0;
  color: var(--guide-muted-strong);
  font-size: clamp(1.03rem, 1.7vw, 1.2rem);
  line-height: 1.68;
}

.guides-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.guide-card {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  border: 1px solid var(--guide-line);
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .018)),
    var(--guide-panel-soft);
}

a.guide-card {
  display: flex;
  flex-direction: column;
  padding: 30px;
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}

a.guide-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, .22);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .085), rgba(255, 255, 255, .025)),
    var(--guide-panel-soft);
}

a.guide-card:focus-visible {
  outline: 2px solid var(--guide-blue);
  outline-offset: 4px;
}

.guide-card-top,
.guide-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.guide-card-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.guide-tag {
  display: inline-flex;
  min-height: 27px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  background: rgba(255, 255, 255, .055);
  color: #c9c9c9;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.guide-tag-new {
  border-color: rgba(103, 216, 255, .3);
  background: rgba(103, 216, 255, .12);
  color: #9de8ff;
}

.guide-card-copy {
  margin-top: 58px;
}

.guide-card h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 850;
  line-height: 1.15;
  letter-spacing: -.025em;
}

.guide-card-copy > p {
  margin: 14px 0 0;
  color: var(--guide-muted);
  font-size: .97rem;
  line-height: 1.65;
}

.guide-card-footer {
  margin-top: 26px;
  color: #aaa;
  font-size: .82rem;
  font-weight: 700;
}

.guide-card-arrow {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-size: 1.15rem;
  transition: transform .2s ease, background .2s ease;
}

a.guide-card:hover .guide-card-arrow {
  transform: translateX(3px);
  background: rgba(103, 216, 255, .14);
}

.guide-card-coming {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  border-style: dashed;
  background:
    radial-gradient(circle at 82% 18%, rgba(154, 108, 255, .075), transparent 11rem),
    rgba(255, 255, 255, .018);
}

.guide-card-coming .guide-tag {
  position: absolute;
  top: 30px;
  left: 30px;
}

.guide-card-coming h2 {
  color: #d8d8d8;
}

.guide-card-coming p {
  max-width: 430px;
  margin: 15px 0 0;
  color: #777;
  font-size: .97rem;
  line-height: 1.65;
}

.article-main {
  width: min(100%, 1160px);
  margin: 0 auto;
  padding: clamp(72px, 9vw, 112px) 24px 132px;
}

.article-header {
  width: min(100%, 880px);
  margin: 0 auto 62px;
}

.article-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-bottom: 25px;
  color: #7e7e7e;
  font-size: .86rem;
  font-weight: 700;
}

.article-breadcrumbs a {
  color: #b6b6b6;
  transition: color .18s ease;
}

.article-breadcrumbs a:hover {
  color: var(--guide-blue);
}

.article-header h1 {
  max-width: 850px;
  font-size: clamp(2.65rem, 6.2vw, 4.85rem);
}

.article-intro {
  max-width: 790px;
  margin: 25px 0 0;
  color: var(--guide-muted-strong);
  font-size: clamp(1.08rem, 1.8vw, 1.25rem);
  line-height: 1.72;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 15px;
  margin-top: 28px;
  color: #858585;
  font-size: .82rem;
  font-weight: 750;
}

.article-meta .guide-tag {
  color: #c9b7ff;
  border-color: rgba(154, 108, 255, .26);
  background: rgba(154, 108, 255, .1);
}

.article-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 760px);
  justify-content: center;
  gap: clamp(42px, 7vw, 88px);
  align-items: start;
}

.article-toc {
  position: sticky;
  top: 112px;
  padding-top: 8px;
}

.article-toc-title {
  margin: 0 0 15px;
  color: #ececec;
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.article-toc ol {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-toc a {
  display: block;
  padding-left: 13px;
  border-left: 1px solid var(--guide-line);
  color: #7f7f7f;
  font-size: .83rem;
  font-weight: 650;
  line-height: 1.42;
  transition: border-color .18s ease, color .18s ease;
}

.article-toc a:hover {
  border-color: var(--guide-blue);
  color: #ddd;
}

.article-body {
  min-width: 0;
  color: #c4c4c4;
  font-size: 1.04rem;
  line-height: 1.82;
}

.article-body h2,
.article-body h3 {
  scroll-margin-top: 112px;
  color: #fff;
  letter-spacing: -.025em;
}

.article-body h2 {
  margin: 72px 0 19px;
  padding-top: 5px;
  font-size: clamp(1.85rem, 4vw, 2.55rem);
  font-weight: 880;
  line-height: 1.14;
}

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

.article-body h3 {
  margin: 48px 0 15px;
  font-size: clamp(1.25rem, 2.6vw, 1.55rem);
  font-weight: 820;
  line-height: 1.28;
}

.article-body p {
  margin: 0 0 21px;
}

.article-body strong {
  color: #f1f1f1;
  font-weight: 800;
}

.article-body ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 27px;
  padding-left: 1.35rem;
}

.article-body li {
  padding-left: .25rem;
}

.article-body li::marker {
  color: var(--guide-blue);
}

.article-section-number {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  margin-right: 9px;
  transform: translateY(-2px);
  border: 1px solid rgba(103, 216, 255, .25);
  border-radius: 8px;
  background: rgba(103, 216, 255, .09);
  color: var(--guide-blue);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: .72rem;
  vertical-align: middle;
}

.article-note {
  margin: 31px 0;
  padding: 20px 22px;
  border: 1px solid rgba(154, 108, 255, .24);
  border-radius: 13px;
  background: rgba(154, 108, 255, .065);
  color: #d4c8ee;
}

.article-note p {
  margin: 0;
}

.article-end {
  margin-top: 70px;
  padding-top: 30px;
  border-top: 1px solid var(--guide-line);
}

.article-back-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #d7d7d7;
  font-size: .9rem;
  font-weight: 800;
  transition: color .18s ease, transform .18s ease;
}

.article-back-link:hover {
  transform: translateX(-2px);
  color: var(--guide-blue);
}

@media (max-width: 1023px) {
  .navbar {
    min-height: 58px;
  }

  .btn-header {
    display: none !important;
  }

  .article-layout {
    grid-template-columns: minmax(0, 760px);
  }

  .article-toc {
    position: static;
    padding: 20px 22px;
    border: 1px solid var(--guide-line);
    border-radius: 14px;
    background: rgba(255, 255, 255, .025);
  }

  .article-toc ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .guides-main,
  .article-main {
    padding-right: 20px;
    padding-left: 20px;
  }

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

  .guide-card {
    min-height: 300px;
  }

  .guide-card-coming {
    min-height: 280px;
  }

  .article-header {
    margin-bottom: 42px;
  }

  .article-toc ol {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .guides-main,
  .article-main {
    padding-top: 72px;
  }

  a.guide-card,
  .guide-card-coming {
    padding: 24px;
  }

  .guide-card-coming .guide-tag {
    top: 24px;
    left: 24px;
  }

  .article-body {
    font-size: 1rem;
    line-height: 1.76;
  }
}
