/* variables and functions*/
@property --rotate {
  syntax: "<angle>";
  initial-value: 132deg;
  inherits: false;
}
/* reset */
:root {
  --rotate: 90deg;
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  scroll-behavior: smooth;
  font-size: 62.5%;
}
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin-block-end: 0;
}
h1,
h2,
h3,
h4 {
  line-height: 1.2;
}
ul[role="list"],
ol[role="list"] {
  list-style: none;
}
body {
  min-height: 100vh;
  line-height: 1.5;
  font-family: "Inter", sans-serif;
  background-color: hsl(223, 100%, 99%);
}
button,
input,
label {
  line-height: 1.1;
}
h1,
h2,
h3,
h4 {
  text-wrap: balance;
}
a {
  text-decoration-skip-ink: auto;
  text-decoration: none;
  display: inline-block;
  color: currentColor;
}
img,
picture {
  max-width: 100%;
  display: block;
}
input,
button,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}
textarea:not([rows]) {
  min-height: 10em;
}
:target {
  scroll-margin-block: 5ex;
}
:root {
  --btn-radius: 14px;
  --border-thickness: 6px;
  /* visible ring thickness */
  --glow-blur: 8px;
  /* softness of the glow */
  --spin-duration: 4s;
  /* rotation speed */
  --btn-padding: 14px 28px;
  --accent-a: #ff6b6b;
  --accent-b: #ffd166;
  --accent-c: #6bffd1;
  --accent-d: #7a5cff;
}
.sub-heading {
  font-size: clamp(2.8rem, 4.2vw, 4rem);
  font-weight: 600;
  color: hsl(219, 79%, 24%);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.2rem 3rem;
  border-radius: 100vw;
}
.btn--primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.2rem 3rem;
  border-radius: 100vw;
  color: hsl(223, 100%, 99%);
  background: linear-gradient(90deg, #2386ff 0%, #00aee3 100%);
  border: 0;
  transition: box-shadow 0.3s ease;
}
.btn--primary:hover,
.btn--primary:focus-visible {
  box-shadow: 0 6px 15px #00000040;
  outline: none;
}
.btn--secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.2rem 3rem;
  border-radius: 100vw;
  background: radial-gradient(140% 140% at 80% 80%, #185ad4 0%, #0d2f6e 89%, transparent 80%), linear-gradient(112deg, #185ad4 0%, #0d2f6e 89%);
  position: relative;
}
.btn--secondary::before {
  content: "";
  position: absolute;
  border-radius: 100vw;
  background-image: linear-gradient(var(--rotate), #4b82dc 0%, #8870d3 50%, #b766bd 75%, #cc7296 88%, #f6ae00 100%);
  z-index: -1;
  animation: spin 2.5s linear infinite;
}
.btn--secondary::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: -1;
  height: 100%;
  width: 100%;
  margin: 0 auto;
  transform: scale(0.8);
  filter: blur(10px);
  background-image: linear-gradient(var(--rotate), #4b82dc 0%, #8870d3 50%, #b766bd 75%, #cc7296 88%, #f6ae00 100%);
  opacity: 1;
  transition: opacity 0.5s;
  animation: spin 2.5s linear infinite;
}
@keyframes spin {
  0% {
    --rotate: 0deg;
  }
  100% {
    --rotate: 360deg;
  }
}
.flex-center {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.flex-gap {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}
.container {
  margin-inline: auto;
  padding-inline: 2rem;
}
@media (min-width: 768px) {
  .container {
    padding-inline: 3rem;
  }
}
@media (min-width: 1536px) {
  .container {
    padding-inline: 0;
    max-inline-size: 102.4rem;
  }
}
.page-hero {
  padding-top: 10rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid #e5e7eb;
}
@media (min-width: 768px) {
  .page-hero {
    padding-top: 14rem;
    padding-bottom: 5rem;
  }
}
.page-hero .container {
  margin-inline: auto;
  padding-inline: 2rem;
}
@media (min-width: 768px) {
  .page-hero .container {
    padding-inline: 3rem;
  }
}
@media (min-width: 1536px) {
  .page-hero .container {
    padding-inline: 0;
    max-inline-size: 102.4rem;
  }
}
.page-hero__content {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  max-width: 80rem;
}
.page-hero__accent {
  width: clamp(4rem, 8vw, 6rem);
  height: 4px;
  border-radius: 100vw;
  background: linear-gradient(90deg, hsl(219, 80%, 46%), #00aee3);
}
.page-hero__title {
  font-size: clamp(3.2rem, 5vw, 5.2rem);
  font-weight: 700;
  color: hsl(219, 79%, 24%);
  line-height: 1.15;
  text-wrap: balance;
  letter-spacing: -0.02em;
  margin: 0;
  text-transform: capitalize;
}
.page-hero__subtitle {
  font-size: clamp(1.6rem, 2vw, 1.9rem);
  color: #6b7280;
  line-height: 1.7;
  max-width: 65ch;
  margin: 0;
}
.page-content {
  padding-block: 5rem 8rem;
  background: #fff;
}
@media (min-width: 768px) {
  .page-content {
    padding-block: 6rem 10rem;
  }
}
.page-content .container {
  margin-inline: auto;
  padding-inline: 2rem;
}
@media (min-width: 768px) {
  .page-content .container {
    padding-inline: 3rem;
  }
}
@media (min-width: 1536px) {
  .page-content .container {
    padding-inline: 0;
    max-inline-size: 102.4rem;
  }
}
.page-content__inner {
  max-width: 86rem;
  font-size: clamp(1.55rem, 1.8vw, 1.8rem);
  line-height: 1.8;
  color: #374151;
}
.page-content__inner h1 {
  font-size: clamp(2.6rem, 4vw, 4rem);
  font-weight: 700;
  color: #0d1f3c;
  margin-bottom: 2rem;
  text-transform: capitalize;
}
.page-content__inner h2 {
  font-size: clamp(2.2rem, 3.2vw, 3.2rem);
  font-weight: 700;
  color: #0d1f3c;
  margin-top: 4rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid #e5e7eb;
}
.page-content__inner h3 {
  font-size: clamp(1.9rem, 2.5vw, 2.6rem);
  font-weight: 600;
  color: #0d1f3c;
  margin-top: 3.5rem;
  margin-bottom: 1.2rem;
}
.page-content__inner h4 {
  font-size: clamp(1.6rem, 2vw, 2.2rem);
  font-weight: 600;
  color: #0d1f3c;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}
.page-content__inner h5 {
  font-size: clamp(1.4rem, 1.6vw, 1.8rem);
  font-weight: 600;
  color: #0d1f3c;
  margin-top: 2rem;
  margin-bottom: 0.8rem;
}
.page-content__inner h6 {
  font-size: clamp(1.25rem, 1.3vw, 1.6rem);
  font-weight: 600;
  color: #6b7280;
  margin-top: 1.5rem;
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.page-content__inner h2,
.page-content__inner h3,
.page-content__inner h4,
.page-content__inner h5,
.page-content__inner h6 {
  line-height: 1.3;
}
.page-content__inner p {
  margin-bottom: 2rem;
  color: #374151;
}
.page-content__inner p img {
  margin-top: 1.5rem;
  border-radius: 2rem;
}
.page-content__inner p:last-child {
  margin-bottom: 0;
}
.page-content__inner a {
  color: hsl(219, 80%, 46%);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s ease, color 0.2s ease;
}
.page-content__inner a:hover {
  color: hsl(219, 79%, 24%);
  text-decoration-color: currentColor;
}
.page-content__inner ul,
.page-content__inner ol {
  padding-left: 2.8rem;
  margin-bottom: 2rem;
}
.page-content__inner ul li,
.page-content__inner ol li {
  margin-block: 0.8rem;
  line-height: 1.7;
}
.page-content__inner ul li::marker,
.page-content__inner ol li::marker {
  color: hsl(219, 80%, 46%);
  font-weight: 600;
}
.page-content__inner ul li:has(h3)::marker,
.page-content__inner ol li:has(h3)::marker,
.page-content__inner ul li:has(h4)::marker,
.page-content__inner ol li:has(h4)::marker {
  font-size: 2rem;
  font-weight: 600;
}
.page-content__inner ul {
  list-style: disc;
}
.page-content__inner ol {
  list-style: decimal;
}
.page-content__inner blockquote {
  margin: 3rem 0;
  padding: 2rem 2.5rem;
  background: #f8fafc;
  border-left: 4px solid hsl(219, 80%, 46%);
  border-radius: 0 2rem 2rem 0;
  font-style: italic;
  color: #6b7280;
  font-size: clamp(1.6rem, 2vw, 1.9rem);
}
.page-content__inner blockquote p {
  margin: 0;
  color: inherit;
}
.page-content__inner figure {
  margin-block: 3rem;
}
.page-content__inner figure img {
  width: 100%;
  border-radius: 2rem;
  object-fit: cover;
}
@media (min-width: 768px) {
  .page-content__inner figure img {
    height: 40rem;
  }
}
.page-content__inner figure figcaption,
.page-content__inner figure .image-credit {
  font-size: 1.3rem;
  color: #6b7280;
  margin-top: 1rem;
  text-align: center;
}
.page-content__inner img {
  max-width: 100%;
  border-radius: 2rem;
}
.page-content__inner hr {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin-block: 4rem;
}
.page-content__inner code {
  font-family: "Fira Code", "Courier New", monospace;
  font-size: 0.875em;
  background: #f1f5f9;
  color: #c026d3;
  padding: 0.2em 0.5em;
  border-radius: 4px;
}
.page-content__inner pre {
  background: #0f172a;
  color: #e2e8f0;
  padding: 2rem;
  border-radius: 2rem;
  overflow-x: auto;
  font-size: 1.4rem;
  line-height: 1.6;
  margin-block: 2.5rem;
}
.page-content__inner pre code {
  background: none;
  color: inherit;
  padding: 0;
  font-size: inherit;
}
.page-content__inner span {
  font-size: inherit;
  font-weight: inherit;
  color: #6b7280;
}
.page-content__inner span a {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.page-content__inner .table-wrap {
  width: 100%;
  overflow-x: auto;
  margin-block: 3rem;
  border-radius: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  -webkit-overflow-scrolling: touch;
}
.page-content__inner table {
  width: 100%;
  border-collapse: collapse;
  min-width: 540px;
  font-size: clamp(1.4rem, 1.6vw, 1.6rem);
  background: #fff;
}
.page-content__inner table thead {
  background: linear-gradient(135deg, hsl(219, 79%, 24%), hsl(219, 80%, 46%));
  color: #fff;
}
.page-content__inner table thead th {
  padding: 1.4rem 1.8rem;
  text-align: left;
  font-weight: 600;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.page-content__inner table td {
  padding: 1.3rem 1.8rem;
  border-bottom: 1px solid #e5e7eb;
  color: #374151;
  vertical-align: top;
}
.page-content__inner table tbody tr:nth-child(even) {
  background: #f8fafc;
}
.page-content__inner table tbody tr:hover {
  background: #eef2ff;
  transition: background 0.2s ease;
}
.page-content__inner table tbody td:first-child {
  font-weight: 600;
  color: #0d1f3c;
}
@media (max-width: 480px) {
  .page-content__inner h2 {
    margin-top: 3rem;
  }
  .page-content__inner h3 {
    margin-top: 2.5rem;
  }
  .page-content__inner blockquote {
    padding: 1.5rem 1.8rem;
  }
  .page-content__inner table {
    font-size: 1.3rem;
  }
}
