@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap");

:root {
  --max-width: 80rem;
  --accent-blue: #007bff;
  --accent-cyan: #00d9f6;
  --accent-gradient: linear-gradient(90deg,
      var(--accent-cyan),
      var(--accent-blue));
  --accent-hover: #0056b3;
  --bg-primary: #f8f9fa;
  --bg-secondary: #e9ecef;
  --bg-card: #ffffff;
  --text-primary: #212529;
  --text-secondary: #6c757d;
  --text-accent: var(--accent-blue);
  --text-negative: #dc3545;
  --border-color: #dee2e6;
  --green-base: #28a745;
  --header-bg: rgba(248, 249, 250, 0.8);
  --shadow: rgba(0, 0, 0, 0.1);
  --light-glow: linear-gradient(45deg, #3b82f610, #60a5fa00);
  --dark-glow: linear-gradient(45deg, #2563eb40, #3b82f600);
  --bg-code: black;
  --text-code: lightgreen;

  @media (prefers-color-scheme: dark) {
    --bg-primary: #0d1117;
    --bg-secondary: #161b22;
    --bg-card: #21262d;
    --text-primary: #e6edf3;
    --text-secondary: #8b949e;
    --text-accent: #58a6ff;
    --text-negative: #f85149;
    --border-color: #30363d;
    --green-light: #6ee7b7;
    --accent-primary: #58a6ff;
    --accent-hover: #007bff;
    --header-bg: rgba(13, 17, 23, 0.8);
    --shadow: rgba(0, 0, 0, 0.7);
  }
}

html {
  box-sizing: border-box;
  font-size: 1rem;
  font-family: "Outfit", sans-serif;
  font-optical-sizing: auto;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  scroll-behavior: smooth;
  overflow-x: hidden;
}

*,
*:after,
*:before {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
  height: auto;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  padding-top: 5rem;
  background-color: var(--bg-primary);
  overflow-x: hidden;

  &::after,
  &::before {
    content: "";
    position: fixed;
    z-index: 0;
    pointer-events: none;
    width: 40rem;
    height: 40rem;
    border-radius: 50%;
    background: radial-gradient(circle at center,
        rgba(0, 123, 255, 0.28),
        rgba(0, 123, 255, 0.12) 40%,
        rgba(0, 123, 255, 0) 70%);
    filter: blur(2.5rem);

    @media (max-width: 48rem) {
      display: none;
    }
  }

  &::before {
    top: -10rem;
    left: -8rem;
  }

  &::after {
    bottom: -12rem;
    right: -10rem;
  }

  &>div {
    max-width: 80rem;
    margin: 0rem auto;
    padding: 2rem 0.5rem;
    display: flex;
    align-items: self-start;
    gap: 2rem;

    @media (max-width: 48rem) {
      flex-direction: column-reverse;
    }
  }
}

main {
  flex: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
  min-width: 0;
}

header {
  z-index: 30;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 0.5rem 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(0);
  transition: background-color 0.3s ease, box-shadow 0.3s ease,
    backdrop-filter 0.3s ease;
  color: var(--text-primary);

  nav {
    width: 100%;
    max-width: var(--max-width);
    display: flex;
    justify-content: space-between;
    align-items: center;

    &>a {
      display: flex;
      align-items: center;
      gap: 1rem;
      font-weight: 800;
      font-size: 2rem;
      color: var(--text-primary);
      text-decoration: none;

      img {
        border-radius: 0.5rem;
      }

      span {
        display: inline-block;
        vertical-align: middle;
      }
    }

    ul {
      display: flex;
      gap: 0.75rem;
      list-style: none;

      li a {
        position: relative;
        padding: 0.5rem 0.25rem;
        border-radius: 0;
        font-weight: 600;
        color: inherit;
        text-decoration: none;
        transition: color 0.3s, transform 0.2s;

        &::after {
          content: "";
          position: absolute;
          bottom: 0;
          left: 50%;
          width: 0;
          height: 0.15rem;
          background: var(--accent-gradient);
          transition: width 0.3s ease-out, left 0.3s ease-out;
        }

        &:hover {
          background: none;
          color: var(--text-accent);
          transform: translateY(-0.1rem);
        }

        &:hover::after {
          width: 100%;
          left: 0;
        }
      }
    }
  }

  &.scrolled {
    background-color: var(--header-bg);
    backdrop-filter: blur(.25rem);
  }
}

footer {
  margin-top: auto;
  padding: 2rem 1rem;
  background: var(--bg-secondary);
  border-top: 0.0625rem solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: center;
  color: var(--text-secondary);

  p {
    font-size: 0.95rem;
    color: var(--text-secondary);
  }

  @media (prefers-color-scheme: dark) {
    background: var(--bg-secondary);
    border-top-color: var(--border-color);
    color: var(--text-secondary);
  }
}

section {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.cta,
.secondary-cta {
  text-align: center;
  font-size: 1.125rem;
  position: relative;
  padding: 0.75rem 1rem;
  border-radius: 0.375rem;
  overflow: hidden;
  border: 0.0625rem solid;
  text-decoration: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;

  &::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 25%;
    right: 25%;
    height: 0.0625rem;
    transition: all 0.3s ease-in-out;
  }

  &::before {
    content: "";
    display: block;
    position: absolute;
    width: 6rem;
    height: 6rem;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    filter: blur(2rem);
    transition: all 0.3s ease-in-out;
  }

  &:hover::after {
    left: 33.333333%;
    right: 0;
  }

  &:hover::before {
    transform: translate(33.333333%, -50%) scale(1.5) skewX(-12deg);
  }
}

#hero {
  min-height: calc(100dvh - 5rem);
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 5rem;

  @media (min-width: 40rem) {
    padding-top: calc(33dvh - 12rem);
  }

  h1 {
    font-size: clamp(3rem, 7vw, 5rem);
    background: linear-gradient(to right,
        var(--accent-blue) 30%,
        var(--text-primary) 70%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
    display: inline-block;
  }

  ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    list-style: none;
  }

  ul {
    li {
      font-weight: 700;
      padding: 0.5rem 1.25rem;
      border-radius: 10rem;
      background-color: var(--bg-card);
      border: 0.125rem solid var(--border-color);
      color: var(--text-primary);
      box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.05);
      transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
      cursor: default;
      position: relative;
      overflow: hidden;

      &:hover {
        transform: translateY(-0.25rem) scale(1.05);
        background-color: color-mix(in srgb,
            var(--bg-card) 90%,
            var(--accent-blue) 10%);
        color: var(--accent-blue);
      }

      &::before {
        content: "";
        position: absolute;
        top: 0;
        left: -50%;
        width: 40%;
        height: 100%;
        background: rgba(255, 255, 255, 0.6);
        transform: skewX(-25deg);
        transition: all 0.3s ease-in-out;
      }

      &:hover::before {
        left: 120%;
      }
    }
  }

  p {
    text-align: center;
    line-height: 1.7;
    font-size: clamp(1.2rem, 3.5vw, 1.6rem);
    font-weight: 500;
    max-width: 60rem;
    margin: auto;
    color: var(--text-secondary);
  }

  nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
  }

  #supported-platforms {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    color: var(--text-secondary);

    >span {
      text-transform: uppercase;
      font-weight: 800;
      letter-spacing: 0.06em;
      font-size: 0.85rem;
      opacity: 0.9;
    }

    ul {
      list-style: none;
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 0.5rem;

      li {
        display: flex;
        align-items: center;
        gap: 0.4rem;
        padding: 0.35rem 0.7rem;
        border: 0.0625rem solid var(--border-color);
        border-radius: 0.5rem;
        background: var(--bg-secondary);
        color: var(--text-secondary);
        font-weight: 700;
        font-size: 0.9rem;
        transition: all 0.3s ease;

        &:hover {
          background: var(--bg-card);
          transform: translateY(-0.1rem);
          box-shadow: 0 0.25rem 0.75rem var(--shadow);
        }
      }
    }
  }

  img {
    border-radius: 1.5rem;
    border: 0.35rem solid var(--bg-card);
    box-shadow: 0 0 1rem rgba(0, 173, 216, 0.5);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: saturate(1.2);
  }

  img:hover {
    transform: translateY(-0.75rem) scale(1.02);
    box-shadow: 0 0 2rem rgba(0, 173, 216, 0.7);
  }
}

.cta {
  background-color: rgba(39, 154, 60, 0.9);
  border-color: rgba(147, 213, 158, 0.3);
  color: #e5ffe7 !important;

  &::after {
    background: linear-gradient(to right, transparent, #d0ecb0, transparent);
  }

  &::before {
    background-color: rgba(241, 248, 233, 0.6);
  }

  @media (prefers-color-scheme: dark) {
    background-color: rgba(76, 175, 80, 0.2);
    border-color: rgba(56, 142, 60, 0.5);
    color: #e8f5e9 !important;

    &::after {
      background: linear-gradient(to right, transparent, #e8f5e9, transparent);
    }

    &::before {
      background-color: rgba(232, 245, 233, 0.4);
    }
  }
}

.secondary-cta {
  background-color: rgba(59, 130, 246, 0.9);
  border-color: rgba(147, 197, 253, 0.3);
  color: #e5f5ff !important;

  &::after {
    background: linear-gradient(to right, transparent, #e0f2fe, transparent);
  }

  &::before {
    background-color: rgba(224, 242, 254, 0.5);
  }

  @media (prefers-color-scheme: dark) {
    background-color: rgba(59, 130, 246, 0.4);
    border-color: rgba(30, 64, 175, 0.5);
    color: #bfdbfe !important;

    &::after {
      background: linear-gradient(to right, transparent, #bfdbfe, transparent);
    }

    &::before {
      background-color: rgba(191, 219, 254, 0.4);
    }
  }
}

#light-layer-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100rem;
  overflow-x: hidden;
  pointer-events: none;

  #light-layer {
    display: flex;
    gap: 2rem;
    position: absolute;
    top: -10rem;
    left: -10rem;
    width: 55rem;
    height: 65rem;
    rotate: -45deg;
    border-radius: 100%;
    filter: blur(1rem);
    pointer-events: none;
    background-image: var(--light-glow);

    div {
      flex: 4;
      border-radius: 100%;
      background-image: var(--dark-glow);

      @media (min-width:40rem) {
        animation: lightPulse 4s ease-in-out infinite alternate-reverse;
      }

      &:first-child {
        rotate: 20deg;
        animation-delay: -1s;
      }

      &:last-child {
        height: 80%;
        rotate: -25deg;
        animation-delay: -3s;
      }
    }

    span {
      flex: 1;
      border-radius: 100%;
      animation-delay: -1s;
      background-image: var(--light-glow);
      rotate: -10deg;
      @media (min-width:40rem) {
        animation: lightPulse 4s ease-in-out infinite alternate-reverse;
      }

      @media (prefers-color-scheme: dark) {
        background-image: var(--dark-glow);
      }

      &:first-of-type {
        animation-delay: -3s;
        rotate: 10deg;
      }
    }
  }
}

@keyframes lightPulse {

  0%,
  100% {
    transform: scaleY(1);
    opacity: 0.5;
    filter: blur(1.5rem);
  }

  50% {
    transform: scaleY(1.1);
    opacity: 1;
    filter: blur(0.5rem);
  }
}

#cons-of-others {
  margin: 8rem 0;

  h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    text-align: center;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    line-height: normal;
  }

  p {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.25rem;
  }

  ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
    gap: 3rem;
    padding: 0;
    list-style: none;

    li {
      position: relative;
      display: flex;
      flex-direction: column;
      gap: 1rem;
      padding: 3rem 1.5rem;
      border-radius: 1.5rem;
      text-align: center;
      color: #f0faff;
      transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
      background-color: #0006;

      @media (prefers-color-scheme: dark) {
        background-color: #0009;
      }

      background-size: cover;
      background-blend-mode: multiply;
      border: 0.125rem solid rgba(255, 255, 255, 0.1);

      &:hover {
        transform: translateY(-0.75rem) scale(1.05);
        box-shadow: 0 0 2rem rgba(0, 123, 255, 0.6);
        border-color: var(--accent-blue);
      }

      figure {
        font-size: 5rem;
        transition: transform 0.4s;
        line-height: 1;
      }

      strong {
        font-size: 1.75rem;
        color: #00d9f6;
        font-weight: 700;
      }

      span {
        font-size: 1.1rem;
        color: #d1e8ff;
      }

      &:hover figure {
        transform: rotate(5deg) scale(1.1);
      }

      &:first-child {
        background-image: url("/static/assets/db-hell.webp");
      }

      &:nth-child(2) {
        background-image: url("/static/assets/money-pit.webp");
      }

      &:last-child {
        background-image: url("/static/assets/broken-ai.webp");
      }
    }
  }

  @keyframes gradientMove {
    0% {
      background-position: 0 50%;
    }

    50% {
      background-position: 100% 50%;
    }

    100% {
      background-position: 0 50%;
    }
  }
}

#one-binary {
  margin: 8rem 0;

  h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    text-align: center;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    line-height: normal;
  }

  ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    gap: 2rem;

    li {
      border-radius: 1.5rem;
      padding: 2rem;
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 1rem;
      transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        box-shadow 0.4s, background 0.4s;
      border: 0.0625rem solid var(--border-color);
      box-shadow: 0 0.5rem 1.5rem var(--shadow);
      color: var(--text-primary);
      background: var(--bg-card);
      position: relative;
      overflow: hidden;

      figure {
        font-size: 4rem;
        transition: transform 0.4s;
      }

      div {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;

        strong {
          font-size: 1.75rem;
          font-weight: 700;
          color: var(--text-primary);
        }

        span {
          font-size: 1.1rem;
          color: var(--text-secondary);
        }
      }

      &::before {
        content: "";
        position: absolute;
        inset: 0;
        background: var(--light-glow);
        opacity: 0;
        transition: opacity 0.4s;
        border-radius: inherit;
        z-index: 0;
      }

      &:hover {
        transform: translateY(-0.5rem) scale(1.05);
        box-shadow: 0 0.75rem 2rem var(--shadow);
      }

      &:hover::before {
        opacity: 1;
      }

      &:hover figure {
        transform: rotate(0deg) scale(1.15);
      }

      @media (prefers-color-scheme: light) {
        background: linear-gradient(135deg,
            var(--bg-card),
            color-mix(in srgb, var(--accent-blue) 15%, var(--bg-card)));
      }

      @media (prefers-color-scheme: dark) {
        background: linear-gradient(315deg,
            var(--bg-secondary),
            color-mix(in srgb, var(--accent-blue) 15%, var(--bg-secondary)));

        &::before {
          background: var(--dark-glow);
        }
      }
    }
  }
}

#how-to-run {
  margin: 8rem 0;
  max-width: 52rem;
  margin-inline: auto;

  h2 {
    text-align: center;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    background: linear-gradient(135deg, #007bff, #00bcd4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
  }

  ul li {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--bg-card);
    border: 0.0626rem solid rgba(0, 0, 0, 0.08);
    border-radius: 1.25rem;
    padding: 1.75rem 1.5rem 1.75rem 6rem;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.06);
    color: var(--text-primary);
    transition: all 0.3s ease;

    &:hover {
      transform: translateY(-0.3rem);
      box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.12);
    }

    &::before {
      content: attr(data-step);
      position: absolute;
      left: 3rem;
      top: 50%;
      transform: translate(-50%, -50%);
      width: 3.5rem;
      height: 3.5rem;
      border-radius: 50%;
      background: linear-gradient(135deg, #007bff, #00bcd4);
      color: #fff;
      font-weight: 700;
      font-size: 1.5rem;
      display: flex;
      align-items: center;
      justify-content: center;
      border: 0.25rem solid var(--bg-primary);
      box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.15);
      transition: all 0.3s ease;
    }

    &:hover::before {
      transform: translate(-50%, -50%) scale(1.1);
    }

    div {
      display: flex;
      flex-direction: column;
      gap: 0.25rem;
      text-align: left;
    }

    code {
      background: rgba(0, 0, 0, 0.08);
      padding: 0.25rem 0.6rem;
      border-radius: 0.4rem;
      font-family: "Fira Code", monospace;
      font-weight: 600;
      color: #007bff;
    }

    strong {
      font-weight: 700;
      color: var(--text-primary);
    }

    span {
      opacity: 0.9;
      color: var(--text-secondary);
    }

    &:last-child {
      color: var(--text-primary);
      font-size: 1.1rem;
    }

    &:last-child::before {
      background: var(--green-base);
    }
  }

  @media (prefers-color-scheme: dark) {
    ul li {
      background: linear-gradient(135deg, #0f172a, #1e293b);
      border-color: rgba(255, 255, 255, 0.08);
      color: #f1f5f9;

      &::before {
        background: linear-gradient(135deg, #1e40af, #3b82f6);
        border-color: #0f172a;
      }

      code {
        background: rgba(255, 255, 255, 0.08);
        color: #38bdf8;
      }
    }
  }
}

#why-bloggo {
  max-width: 65rem;
  margin: 10rem auto;

  h2 {
    text-align: center;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
  }

  .compare-table {
    display: flex;
    flex-direction: column;
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.1);
    border-radius: 1rem;
    overflow: hidden;

    .row {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr;
      position: relative;
      transition: background 0.3s ease;
      border-bottom: 0.0625rem solid var(--border-color);

      &.header {
        background: linear-gradient(135deg, #0d47a1, #007bff);
        color: #f0faff;
        font-weight: 800;
        text-transform: uppercase;
        font-size: 1.1rem;
        border-top-left-radius: 1rem;
        border-top-right-radius: 1rem;

        .cell.bloggo,
        .cell.others {
          color: #f0faff !important;
        }
      }

      &:nth-child(odd):not(.header) {
        background-color: var(--bg-card);
      }

      &:nth-child(even):not(.header) {
        background-color: var(--bg-secondary);
      }

      &:not(.header)::before {
        content: "";
        position: absolute;
        inset: 0;
        background: color-mix(in srgb, var(--accent-blue) 10%, transparent);
        opacity: 0;
        transition: opacity 0.3s ease;
        pointer-events: none;
      }

      &:not(.header):hover::before {
        opacity: 1;
      }

      .cell {
        padding: 1rem 1.25rem;
        position: relative;
        z-index: 1;
        display: flex;
        align-items: center;

        &.feature {
          font-weight: 600;
          text-align: left;
          justify-content: flex-start;
          color: var(--text-primary);
        }

        .row.header &.feature {
          color: #f0faff;
        }

        &.bloggo {
          color: var(--green-base);
          font-weight: 700;
        }

        &.others {
          color: var(--text-negative);
          font-weight: 700;
        }
      }
    }

    .row:last-child {
      border-bottom: none;
    }
  }

  @media (prefers-color-scheme: dark) {
    .compare-table {
      .row:nth-child(odd):not(.header) {
        background-color: var(--bg-card);
      }

      .row:nth-child(even):not(.header) {
        background-color: var(--bg-secondary);
      }

      .row:not(.header)::before {
        background: color-mix(in srgb, var(--accent-blue) 15%, transparent);
      }

      .cell.bloggo {
        color: var(--green-light);
      }

      .cell.others {
        color: var(--text-negative);
      }

      .row.header {
        background: linear-gradient(135deg, #0d47a1, #007bff);
        color: #f0faff;

        .cell.bloggo,
        .cell.others {
          color: #f0faff !important;
        }
      }
    }
  }

  @media (max-width: 48rem) {
    .compare-table {
      box-shadow: none;
      border-radius: 0;
      overflow: visible;

      .row.header {
        display: none;
      }

      .row:not(.header) {
        margin-top: 0.75rem;
        grid-template-columns: 1fr 1fr;
        padding: 0;
        box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.1);
        border-radius: 0.5rem;
        overflow: hidden;
        background-color: var(--bg-card);

        &:nth-child(even):not(.header),
        &:nth-child(odd):not(.header) {
          background-color: var(--bg-card);
        }

        .cell.feature {
          grid-column: 1 / span 2;
          background-color: var(--bg-secondary);
          color: var(--text-primary);
          font-size: 1.15rem;
          padding: 0.75rem 1.25rem;
          justify-content: center;
          text-align: center;
          border-bottom: 0.625rem solid var(--border-color);
          order: 1;
        }

        .cell.bloggo::before {
          content: "Bloggo: ";
          display: inline-block;
          font-weight: 400;
          color: var(--text-secondary);
        }

        .cell.others::before {
          content: "Ghost/WP: ";
          display: inline-block;
          font-weight: 400;
          color: var(--text-secondary);
        }

        .cell.bloggo,
        .cell.others {
          padding: 1rem 0.75rem;
          flex-direction: column;
          gap: 0.25rem;
          border-bottom: none;
          order: 2;
        }

        .cell.bloggo {
          border-right: 0.0626rem solid var(--border-color);
        }
      }

      .row:first-of-type:not(.header) {
        margin-top: 0;
      }

      .row:last-child {
        border-bottom: none;
      }

      @media (prefers-color-scheme: dark) {
        .row:not(.header) {
          background-color: var(--bg-card);

          .cell.feature {
            background-color: var(--bg-secondary);
            border-bottom-color: var(--border-color);
          }

          .cell.bloggo {
            border-right-color: var(--border-color);
          }
        }

        .row:not(.header):nth-child(even):not(.header),
        .row:not(.header):nth-child(odd):not(.header) {
          background-color: var(--bg-card);
        }
      }
    }
  }
}

#get-started {
  margin: 8rem 0;
  text-align: center;

  h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    text-align: center;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    line-height: normal;
  }

  p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    max-width: 40rem;
  }

  nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem;
  }

  ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    opacity: 0.9;

    li {
      display: flex;
      align-items: center;
      gap: 0.4rem;
      padding: 0.4rem 0.8rem;
      border: 0.0626rem solid var(--border-color);
      border-radius: 0.5rem;
      background: var(--bg-secondary);
      transition: all 0.3s ease;

      &:hover {
        background: var(--bg-card);
        transform: translateY(-0.1rem);
        box-shadow: 0 0.25rem 0.75rem var(--shadow);
      }
    }
  }
}

#base-features {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 10rem auto;
  max-width: var(--max-width);

  h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    text-align: center;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    line-height: normal;
  }

  #feature-wheel {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
    gap: 1rem;
    width: 100%;

    li {
      position: relative;
      width: 100%;
      height: 7rem;
      padding: 1rem;
      border-radius: 0.75rem;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 0.25rem;
      font-weight: 600;
      font-size: 0.9rem;
      cursor: pointer;
      text-align: center;
      white-space: normal;
      line-height: 1.3;
      border: 0.0626rem solid var(--border-color);
      background: var(--bg-card);
      box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.08);
      transition: transform 0.3s ease-out, box-shadow 0.3s ease-out,
        filter 0.3s ease;
      color: var(--text-primary);
      overflow: hidden;

      figure {
        font-size: 2rem;
        line-height: 1;
        margin-bottom: 0.25rem;
        color: var(--accent-blue);
        transition: transform 0.3s ease, color 0.3s ease;
      }

      span {
        color: var(--text-secondary);
      }

      &::before {
        content: "";
        position: absolute;
        inset: 0;
        background: var(--light-glow);
        opacity: 0;
        transition: opacity 0.4s;
        border-radius: inherit;
        z-index: 0;
      }

      &:hover {
        transform: translateY(-0.25rem) scale(1.03);
        box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.15);
        filter: brightness(1.05);
      }

      &:hover::before {
        opacity: 1;
      }

      &:hover figure {
        color: var(--accent-cyan);
        transform: scale(1.15);
      }

      &:nth-child(odd) {
        background: linear-gradient(135deg,
            color-mix(in srgb, var(--accent-blue) 6%, var(--bg-card)),
            var(--bg-card));
      }

      &:nth-child(even) {
        background: linear-gradient(135deg,
            color-mix(in srgb, var(--accent-cyan) 6%, var(--bg-card)),
            var(--bg-card));
      }

      @media (prefers-color-scheme: dark) {
        color: var(--text-primary);
        background: linear-gradient(135deg,
            color-mix(in srgb, var(--accent-blue) 12%, var(--bg-secondary)),
            var(--bg-secondary));

        &:nth-child(even) {
          background: linear-gradient(135deg,
              color-mix(in srgb, var(--accent-cyan) 12%, var(--bg-secondary)),
              var(--bg-secondary));
        }

        &::before {
          background: var(--dark-glow);
        }

        figure {
          color: var(--text-accent);
        }

        &:hover figure {
          color: var(--accent-cyan);
        }
      }
    }
  }

  &>img {
    width: 100%;
    max-width: 10rem;
    height: auto;
    object-fit: cover;
    margin-top: 0;
    display: block;
    border-radius: 0.75rem;
    order: 2;
  }

  &>h2 {
    order: 1;
  }

  &>#feature-wheel {
    order: 3;
    margin-top: 0;
  }

  @media (min-width: 80rem) {
    display: grid;
    grid-template-columns: 2fr 1fr;
    align-items: center;
    gap: 3rem;

    h2 {
      grid-column: 1 / span 2;
      text-align: center;
      order: unset;
    }

    #feature-wheel {
      grid-column: 1 / span 1;
      order: unset;
    }

    &>img {
      grid-column: 2 / span 1;
      justify-self: center;
      align-self: center;
      margin: 0;
      max-width: 12rem;
      order: unset;
    }
  }
}

aside {
  position: sticky;
  top: 0;
  flex-shrink: 0;
  padding: 0rem 1rem;

  @media (min-width: 48rem) {
    width: 15rem;
  }

  h2 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    width: 100%;
    border-bottom: 0.125rem solid var(--text-secondary);
    padding-bottom: 0.5rem;
  }

  ul {
    list-style: none;
    display: grid;
    gap: 0.5rem;
  }

  a {
    display: block;
    text-decoration: none;
    color: var(--text-secondary);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius);
    transition: background-color 0.2s;
  }

  a:hover {
    background-color: var(--bg-hover);
    color: var(--accent-color);
  }

  a.active {
    position: relative;
    color: var(--text-accent);
    font-weight: 700;
    padding-left: 0.9rem;
  }

  a.active::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0.25rem;
    background-color: var(--accent-blue);
  }
}

article {
  line-height: 1.65;
  font-size: 1.25rem;
  -webkit-font-smoothing: antialiased;

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    margin: 1.6rem 0 0.6rem;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: -0.02em;
  }

  h1 {
    font-size: 2.25rem;
    margin-top: 0;
  }

  h2 {
    font-size: 1.6rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  h4 {
    font-size: 1.05rem;
    font-weight: 600;
  }

  p {
    margin-bottom: 1rem;
    color: inherit;

    &:last-child {
      margin-bottom: 0;
    }
  }

  a {
    color: #0b66ff;
    text-decoration: underline;
    text-decoration-thickness: 0.0625rem;
    text-underline-offset: 0.25rem;
  }

  a:hover,
  a:focus {
    text-decoration-thickness: 0.125rem;
    outline: none;
  }

  ul,
  ol {
    margin: 0 0 1rem 1.25rem;
    padding: 0;
  }

  li+li {
    margin-top: 0.35rem;
  }

  blockquote {
    margin: 1rem 0;
    padding: 1rem;
    border-left: 0.25rem solid rgba(11, 102, 255, 0.4);
    background: rgba(11, 102, 255, 0.2);
    font-style: italic;
    border-radius: 0.5rem;
  }

  code {
    font-family: ui-monospace, "Roboto Mono", "Courier New", monospace;
    padding: 0.15em 0.32em;
    border-radius: 0.5rem;
    background: rgba(225, 183, 36, 0.4);
    border: 0.0625rem solid rgba(15, 23, 36, 0.04);
    white-space: nowrap;
  }

  pre {
    margin: 1rem 0;
    padding: 1rem;
    border-radius: 0.5rem;
    background: var(--bg-code);
    color: var(--text-code);
    font-family: ui-monospace, "Roboto Mono", "Courier New", monospace;
    line-height: 1.45;

    code {
      background-color: transparent;
      overflow-x: auto;
      white-space: pre-wrap;
      word-break: break-all;
    }
  }

  img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0.8rem auto;
    border-radius: 0.5rem;
    object-fit: cover;
  }

  figure {
    margin: 0 0 1rem;
  }

  figcaption {
    font-size: 0.8rem;
    color: #5b6b7a;
    margin-top: 0.4rem;
    text-align: center;
  }

  table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
  }

  th,
  td {
    padding: 0.6rem 0.75rem;
    border: 0.0625rem solid rgba(15, 23, 36, 0.06);
    text-align: left;
  }

  thead th {
    background: rgba(11, 102, 255, 0.06);
    font-weight: 600;
  }

  hr {
    border: 0;
    height: 0.0625rem;
    background: linear-gradient(90deg,
        transparent,
        rgba(15, 23, 36, 0.08),
        transparent);
    margin: 1.6rem 0;
  }

  strong {
    font-weight: 700;
  }

  em {
    font-style: italic;
  }

  details {
    margin: 0.6rem 0;
  }

  summary {
    cursor: pointer;
    list-style: none;
    outline: none;
  }

  small {
    font-size: 0.85rem;
    color: #55606a;
  }

  img.inline {
    display: inline-block;
    vertical-align: middle;
    margin: 0 0.6rem;
    max-height: 2.4rem;
  }
}