:root {
  color-scheme: light;
  --ink: #202b30;
  --muted: #65757b;
  --panel: #ffffff;
  --line: #dce5e7;
  --green: #67d39a;
  --green-dark: #247451;
  --blue: #83d5ec;
  --slate: #202b30;
  --shadow: 0 18px 50px rgba(26, 49, 55, 0.09);
}

html {
  scroll-behavior: smooth;
  background: #f2f6f6;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(ellipse at 8% 28rem, rgba(131, 213, 236, 0.12), transparent 28rem),
    #f2f6f6;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

::selection {
  color: #10251c;
  background: rgba(103, 211, 154, 0.5);
}

a {
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

:focus-visible {
  outline: 3px solid rgba(78, 185, 219, 0.8);
  outline-offset: 3px;
}

header.sticky {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(230, 244, 242, 0.12);
  background: rgba(29, 41, 46, 0.94);
  box-shadow: 0 9px 28px rgba(14, 30, 35, 0.15);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  backdrop-filter: blur(18px) saturate(145%);
}

header.sticky > div {
  min-height: 5.25rem;
}

header.sticky .brand-link {
  min-width: 0;
  text-decoration: none;
}

header.sticky .brand-mark {
  position: relative;
  width: 3.15rem;
  height: 3.15rem;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid rgba(131, 213, 236, 0.36);
  border-radius: 1rem;
  background: linear-gradient(145deg, #35474c, #1a292e);
  color: #f2fbf7;
  box-shadow: 0 8px 24px rgba(4, 17, 20, 0.28), inset 0 1px rgba(255, 255, 255, 0.1);
}

.brand-mark svg {
  display: block;
  width: 100%;
  height: 100%;
}

.brand-mark-orbit {
  transform-box: fill-box;
  transform-origin: center;
  animation: brand-orbit 24s linear infinite;
}

@keyframes brand-orbit {
  to { transform: rotate(360deg); }
}

header.sticky .brand-name {
  color: #f0f6f5;
  font-size: 0.94rem;
  letter-spacing: 0.045em;
}

header.sticky .brand-name > span:first-child {
  color: #f0f6f5;
}

header.sticky .brand-amp {
  color: var(--blue);
}

header.sticky .brand-energy {
  color: var(--green);
}

header.sticky .brand-tagline {
  margin-top: 0.24rem;
  color: #a8c1c4;
  font-size: 0.55rem;
  letter-spacing: 0.17em;
}

.primary-nav {
  border: 1px solid rgba(201, 230, 228, 0.15) !important;
  border-radius: 1rem !important;
  background: rgba(248, 255, 253, 0.055) !important;
  padding: 0.32rem !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.06) !important;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.primary-nav .nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border-radius: 0.68rem;
  padding: 0.68rem 0.9rem;
  color: #c7d4d5;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.primary-nav .nav-link::after {
  position: absolute;
  right: 0.9rem;
  bottom: 0.32rem;
  left: 0.9rem;
  height: 1px;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--green), var(--blue));
  transition: transform 180ms ease;
}

.primary-nav .nav-link:hover,
.primary-nav .nav-link[aria-current="page"] {
  background: rgba(248, 255, 253, 0.085);
  color: #f5fffb;
}

.primary-nav .nav-link:hover {
  transform: translateY(-1px);
}

.primary-nav .nav-link:hover::after,
.primary-nav .nav-link[aria-current="page"]::after {
  transform: scaleX(1);
}

.primary-nav .nav-link[aria-current="page"] {
  box-shadow: inset 0 0 0 1px rgba(103, 211, 154, 0.18);
}

.primary-nav .nav-link-contact {
  margin-left: 0.2rem;
  border: 1px solid rgba(103, 211, 154, 0.34);
  background: linear-gradient(130deg, rgba(103, 211, 154, 0.16), rgba(131, 213, 236, 0.12));
  color: #b7f3d1;
}

.primary-nav .nav-link-contact:hover {
  background: linear-gradient(130deg, rgba(103, 211, 154, 0.27), rgba(131, 213, 236, 0.2));
}

header details {
  color: #f2f6f5;
}

header details > summary.text-slate-700 {
  display: inline-flex;
  min-height: 2.8rem;
  align-items: center;
  list-style: none;
  cursor: pointer;
  border: 1px solid rgba(201, 230, 228, 0.19);
  border-radius: 0.85rem;
  padding: 0.65rem 0.9rem;
  background: rgba(248, 255, 253, 0.07);
  color: #e8f3f0;
  font-size: 0.85rem;
  font-weight: 600;
  transition: border-color 180ms ease, background 180ms ease;
}

header details summary::-webkit-details-marker {
  display: none;
}

header details summary::after {
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  margin: 0 0 0.15rem 0.55rem;
  content: "";
  transform: rotate(45deg);
  border-right: 1.5px solid var(--green);
  border-bottom: 1.5px solid var(--green);
  transition: transform 180ms ease;
}

header details[open] > summary.text-slate-700 {
  border-color: rgba(103, 211, 154, 0.45);
  background: rgba(103, 211, 154, 0.12);
}

header details[open] summary::after {
  transform: translateY(0.18rem) rotate(225deg);
}

header details nav[aria-label="Navegación móvil"] {
  border: 1px solid rgba(178, 222, 218, 0.2);
  border-radius: 1rem;
  padding: 0.45rem;
  background: rgba(32, 45, 50, 0.96);
  box-shadow: 0 22px 55px rgba(5, 17, 20, 0.38);
  -webkit-backdrop-filter: blur(22px) saturate(145%);
  backdrop-filter: blur(22px) saturate(145%);
}

header details[open] nav {
  animation: menu-reveal 200ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

header details nav a {
  border-radius: 0.7rem;
  color: #e0e9e8;
  transition: color 150ms ease, background 150ms ease, transform 150ms ease;
}

header details nav a[aria-current="page"] {
  border-left: 3px solid var(--green);
  background: rgba(103, 211, 154, 0.13);
  color: #adf0ca;
  font-weight: 700;
}

header details nav a:hover {
  transform: translateX(3px);
  background: rgba(131, 213, 236, 0.11);
  color: #d4f4ff;
}

@keyframes menu-reveal {
  from { opacity: 0; transform: translateY(-8px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

main {
  width: 100%;
}

.home-hero.home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: clamp(4.25rem, 8vw, 7.25rem);
  padding-bottom: clamp(4.25rem, 8vw, 7rem);
  border: 0;
  background:
    radial-gradient(ellipse at 75% 34%, rgba(96, 205, 186, 0.22), transparent 24rem),
    radial-gradient(ellipse at 88% 80%, rgba(131, 213, 236, 0.17), transparent 23rem),
    linear-gradient(120deg, #202c31 0%, #28373c 59%, #1c2a30 100%);
}

.home-hero::before,
.home-hero::after {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  content: "";
  border: 1px solid rgba(170, 225, 221, 0.13);
  border-radius: 50%;
}

.home-hero::before {
  top: -23rem;
  right: -6rem;
  width: 53rem;
  height: 53rem;
}

.home-hero::after {
  top: -17rem;
  right: 0;
  width: 41rem;
  height: 41rem;
}

.home-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(19rem, 0.96fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  max-width: 76rem;
}

.home-hero-copy {
  text-align: left;
}

.home-hero-copy > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid rgba(131, 213, 236, 0.26);
  border-radius: 999px;
  padding: 0.5rem 0.85rem;
  background: rgba(234, 253, 248, 0.065);
  color: #b7ece5;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
}

.home-hero-copy > span:first-child::before {
  width: 0.42rem;
  height: 0.42rem;
  content: "";
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(103, 211, 154, 0.13), 0 0 14px rgba(103, 211, 154, 0.7);
}

.home-hero-copy h1 {
  max-width: 44rem;
  margin-top: 1.3rem;
  color: #f1f7f6;
  font-size: clamp(2.7rem, 5.3vw, 4.85rem);
  font-weight: 750;
  line-height: 1.01;
  letter-spacing: -0.055em;
}

.home-hero-copy h1 span {
  display: block;
  margin-top: 0.12em;
  background: linear-gradient(98deg, #80e2ad 0%, #8bddeb 72%, #b5eff3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.home-hero-copy > p {
  max-width: 39rem;
  margin-top: 1.35rem;
  color: #c0cecf;
  font-size: 1.02rem;
  line-height: 1.8;
}

.home-hero-copy > p strong {
  color: #e3f7ee;
}

.home-hero-actions {
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.home-hero-actions a {
  border-radius: 0.8rem;
  padding: 0.85rem 1.2rem;
  font-weight: 650;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.home-hero-actions a:first-child {
  border: 1px solid rgba(202, 255, 222, 0.48);
  background: linear-gradient(115deg, #69d69c, #8ae0c2);
  color: #153d2b;
  box-shadow: 0 10px 25px rgba(69, 192, 131, 0.22);
}

.home-hero-actions a:first-child:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(69, 192, 131, 0.3);
}

.home-hero-actions a:last-child {
  border: 1px solid rgba(194, 226, 228, 0.23);
  background: rgba(248, 255, 253, 0.065);
  color: #e8f2f1;
}

.home-hero-actions a:last-child:hover {
  transform: translateY(-2px);
  background: rgba(248, 255, 253, 0.12);
}

.home-hero-art {
  position: relative;
  min-width: 0;
  aspect-ratio: 1.02;
  overflow: hidden;
  border: 1px solid rgba(176, 234, 226, 0.3);
  border-radius: 1.6rem 1.6rem 5rem 1.6rem;
  background: linear-gradient(145deg, #a9dcd9, #4d8885 58%, #30474d);
  box-shadow: 0 30px 70px rgba(5, 19, 23, 0.36), inset 0 1px rgba(255, 255, 255, 0.55);
  transform: rotate(1deg);
}

.home-hero-art::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(145deg, rgba(227, 255, 246, 0.2), transparent 45%, rgba(22, 43, 48, 0.17));
}

.home-hero-art svg {
  display: block;
  width: 100%;
  height: 100%;
}

.home-hero-art .sun-orbit {
  transform-box: fill-box;
  transform-origin: center;
  animation: sun-breathe 5s ease-in-out infinite;
}

.home-hero-art .city-glow {
  animation: city-glow 4s ease-in-out infinite alternate;
}

.home-hero-note {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(226, 255, 247, 0.24);
  border-radius: 0.9rem;
  background: rgba(28, 43, 48, 0.76);
  color: #f1faf7;
  box-shadow: 0 8px 24px rgba(18, 37, 42, 0.22);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.home-hero-note strong,
.home-hero-note span {
  display: block;
}

.home-hero-note strong {
  color: #9ce9bb;
  font-size: 1rem;
}

.home-hero-note span {
  margin-top: 0.15rem;
  color: #c5d9dc;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@keyframes sun-breathe {
  50% { opacity: 0.72; transform: scale(1.05); }
}

@keyframes city-glow {
  to { opacity: 0.78; }
}

main > section:nth-child(2) {
  max-width: 76rem;
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
  padding-bottom: clamp(4rem, 8vw, 6rem);
}

main > section:nth-child(2) h2 {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-color: var(--line);
  color: var(--ink);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.035em;
}

main > section:nth-child(2) h2::after {
  width: 3rem;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, var(--green), var(--blue));
}

main > section:nth-child(2) article {
  position: relative;
  min-height: 18rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  background: linear-gradient(145deg, #ffffff, #f5f9f8);
  box-shadow: 0 8px 28px rgba(31, 53, 58, 0.055);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

main > section:nth-child(2) article::before {
  position: absolute;
  top: 0;
  left: 1.5rem;
  width: 3.5rem;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, var(--green), var(--blue));
}

main > section:nth-child(2) article:hover {
  transform: translateY(-5px);
  border-color: rgba(67, 169, 131, 0.4);
  box-shadow: 0 18px 38px rgba(31, 53, 58, 0.12);
}

main > section:nth-child(2) article h3 {
  color: var(--ink);
  line-height: 1.3;
}

main > section:nth-child(2) article > div:last-child {
  border-color: var(--line);
}

main > :not(section:first-child):not(section:nth-child(2)) {
  color: #43545a;
}

main .text-slate-900,
main h1,
main h2,
main h3 {
  color: var(--ink);
}

main .text-slate-800,
main .text-slate-700 {
  color: #43545a;
}

main .text-slate-600,
main .text-slate-500 {
  color: var(--muted);
}

.home-hero .home-hero-copy h1 {
  color: #f1f7f6;
}

.home-hero .home-hero-copy > p {
  color: #c0cecf;
}

main > article {
  margin-top: 3rem;
  margin-bottom: 3rem;
  padding: clamp(1.4rem, 4vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: 1.3rem;
  background: linear-gradient(145deg, #ffffff, #f5f9f8);
  box-shadow: var(--shadow);
}

.article-page {
  width: min(100%, 58rem);
  padding-top: clamp(2.5rem, 6vw, 4.5rem);
  padding-bottom: clamp(3rem, 7vw, 5.5rem);
}

.article-page > .article-content {
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: clamp(1.4rem, 5vw, 3.2rem);
  border: 1px solid #d7e6e3;
  border-radius: 1.5rem;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(131, 213, 236, 0.15), transparent 22rem),
    linear-gradient(150deg, #ffffff, #f6faf8 78%);
  box-shadow: 0 24px 64px rgba(31, 53, 58, 0.1), inset 0 1px #fff;
}

.article-page > .article-content::before {
  position: absolute;
  top: 0;
  right: 2rem;
  left: 2rem;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, var(--green), var(--blue), transparent);
}

.article-page .article-heading {
  border-color: #dce8e6;
  padding-bottom: 1.5rem;
}

.article-page .article-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(78, 173, 133, 0.23);
  border-radius: 999px;
  padding: 0.42rem 0.72rem;
  background: rgba(103, 211, 154, 0.1);
  color: #247451;
  letter-spacing: 0.12em;
}

.article-page .article-kicker::before {
  width: 0.4rem;
  height: 0.4rem;
  content: "";
  border-radius: 50%;
  background: var(--green-dark);
  box-shadow: 0 0 0 3px rgba(103, 211, 154, 0.15);
}

.article-page .article-heading h1 {
  max-width: 46rem;
  margin-top: 1rem;
  color: #202f34;
  font-size: clamp(2rem, 4.8vw, 3.45rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.article-page .article-heading p {
  margin-top: 1rem;
  color: #6a7b7e;
}

.article-page .article-heading p strong {
  color: #315d4a;
}

.article-page .article-content > p {
  color: #526469;
  font-size: 0.98rem;
  line-height: 1.9;
}

.article-page .article-content > h2 {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(207, 224, 220, 0.8);
  padding-top: 1.4rem;
  color: #253d41;
  font-size: clamp(1.15rem, 2.6vw, 1.4rem);
  letter-spacing: -0.02em;
}

.article-page .article-content > h2::before {
  width: 0.42rem;
  height: 0.42rem;
  flex: 0 0 auto;
  content: "";
  transform: translateY(-0.12rem);
  border-radius: 2px;
  background: linear-gradient(135deg, var(--green-dark), #83d5ec);
}

.article-page .article-content ul {
  border: 1px solid #dce9e5;
  border-radius: 0.9rem;
  padding: 1.1rem 1.2rem 1.1rem 2.4rem;
  background: rgba(237, 247, 243, 0.72);
  line-height: 1.75;
}

.article-page .article-links {
  gap: 1rem;
  border-color: #dce8e6;
  padding-top: 1.35rem;
}

.article-page .article-links a {
  text-decoration: none;
}

.article-page .article-links a:hover {
  text-decoration: underline;
  text-decoration-color: #83d5ec;
}

main > div.bg-white,
main > div > div.bg-white {
  border-color: var(--line);
  background: linear-gradient(145deg, #ffffff, #f7faf9);
  box-shadow: 0 18px 48px rgba(31, 53, 58, 0.075), inset 0 1px #fff;
}

main .text-brand-700 {
  color: var(--green-dark);
}

main a:not([class*="bg-"]) {
  color: var(--green-dark);
  text-decoration-color: rgba(85, 191, 143, 0.65);
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

main a:not([class*="bg-"]):hover {
  color: #165d43;
  text-decoration-color: #83d5ec;
}

main strong,
main label {
  color: #243a3f;
}

main h1,
main h2,
main h3 {
  text-wrap: balance;
}

main p,
main li {
  text-wrap: pretty;
}

main [class*="border-slate"] {
  border-color: var(--line);
}

main input,
main textarea {
  border-color: #cbd9dc;
  border-radius: 0.65rem;
  background-color: #f7faf9;
  color: var(--ink);
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

main input.bg-slate-50,
main textarea.bg-slate-50 {
  background-color: #f7faf9;
}

main input.border-slate-300,
main textarea.border-slate-300 {
  border-color: #cbd9dc;
}

main input:focus,
main textarea:focus {
  border-color: #55b98c;
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(103, 211, 154, 0.16);
}

main button[type="submit"] {
  border-radius: 0.7rem;
  background: linear-gradient(115deg, #328b64, #247451);
  box-shadow: 0 7px 18px rgba(36, 116, 81, 0.17);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

main button[type="submit"]:hover {
  transform: translateY(-1px);
  background: linear-gradient(115deg, #3b9f74, #2b825a);
  box-shadow: 0 10px 23px rgba(36, 116, 81, 0.22);
}

main #metodologia {
  border-color: rgba(78, 173, 152, 0.25);
  background: linear-gradient(135deg, rgba(221, 246, 237, 0.8), rgba(224, 244, 250, 0.73));
}

main .bg-green-50 {
  background: #eaf7ef;
}

main .bg-red-50 {
  background: #fff1ef;
}

footer {
  border-color: rgba(196, 220, 220, 0.14);
  background:
    radial-gradient(ellipse at 76% 0%, rgba(103, 211, 154, 0.1), transparent 25rem),
    linear-gradient(115deg, #202b30, #182328);
  color: #c3d0d0;
}

.site-footer {
  padding-top: 2.6rem;
  padding-bottom: 1.2rem;
}

.site-footer .footer-inner {
  width: min(100%, 76rem);
}

.site-footer .footer-main,
.site-footer .footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-footer .footer-main {
  padding-bottom: 1.65rem;
}

.site-footer .footer-identity {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.site-footer .footer-symbol {
  display: grid;
  width: 3rem;
  height: 3rem;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(131, 213, 236, 0.25);
  border-radius: 0.95rem;
  background: linear-gradient(145deg, rgba(131, 213, 236, 0.13), rgba(103, 211, 154, 0.1));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08);
}

.site-footer .footer-symbol svg {
  width: 2.45rem;
  height: 2.45rem;
}

.site-footer .footer-title {
  color: #f1f7f5;
  font-size: 1rem;
  font-weight: 750;
  letter-spacing: 0.015em;
}

.site-footer .footer-title span {
  color: #83d5ec;
}

.site-footer .footer-caption {
  margin-top: 0.22rem;
  color: #a9bdbe;
  font-size: 0.66rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.site-footer .footer-contact {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid rgba(103, 211, 154, 0.32);
  border-radius: 0.8rem;
  padding: 0.65rem 0.9rem;
  background: linear-gradient(125deg, rgba(103, 211, 154, 0.13), rgba(131, 213, 236, 0.09));
  color: #a9efc5;
  font-size: 0.76rem;
  font-weight: 650;
  text-decoration: none;
  transition: transform 170ms ease, border-color 170ms ease, background 170ms ease;
}

.site-footer .footer-contact:hover {
  transform: translateY(-2px);
  border-color: rgba(131, 213, 236, 0.55);
  background: linear-gradient(125deg, rgba(103, 211, 154, 0.2), rgba(131, 213, 236, 0.15));
  color: #c3f6d9;
}

.site-footer .footer-contact-icon,
.site-footer .footer-contact-icon svg {
  display: block;
  width: 1.1rem;
  height: 1.1rem;
}

.site-footer .footer-details {
  border-top: 1px solid rgba(196, 220, 220, 0.12);
  padding: 1.2rem 0;
}

.site-footer .footer-credit {
  color: #c3d0d0;
  font-size: 0.77rem;
}

.site-footer .footer-credit strong {
  color: #9ce9bb;
  font-weight: 650;
}

.site-footer .footer-address {
  margin-top: 0.45rem;
  color: #9aadaf;
  font-size: 0.7rem;
  line-height: 1.6;
}

.site-footer .footer-bottom {
  flex-wrap: wrap;
  border-top: 1px solid rgba(196, 220, 220, 0.12);
  padding-top: 1rem;
}

.site-footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.3rem;
}

.site-footer .footer-links a {
  color: #9ce9bb;
  text-decoration-color: rgba(131, 213, 236, 0.38);
  text-underline-offset: 3px;
  transition: color 160ms ease;
}

.site-footer .footer-links a:hover {
  color: #a8e8f7;
}

.site-footer .footer-copyright {
  color: #91a6a8;
  font-size: 0.68rem;
}

@media (max-width: 1023px) {
  header.sticky > div {
    min-height: 4.5rem;
  }

  header.sticky .brand-mark {
    width: 2.9rem;
    height: 2.9rem;
  }

  header.sticky .brand-name {
    font-size: 0.84rem;
  }

  header.sticky .brand-tagline {
    max-width: 13rem;
    font-size: 0.52rem;
  }

  .home-hero-layout {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .home-hero-copy {
    text-align: center;
  }

  .home-hero-copy > p {
    margin-right: auto;
    margin-left: auto;
  }

  .home-hero-actions {
    justify-content: center;
  }

  .home-hero-art {
    width: min(100%, 30rem);
    margin: 0 auto;
    aspect-ratio: 1.2;
    border-radius: 1.35rem 1.35rem 4rem 1.35rem;
  }

  main > section:nth-child(2) article {
    min-height: 0;
  }
}

@media (max-width: 420px) {
  header.sticky > div > a {
    gap: 0.55rem;
  }

  header.sticky .brand-mark {
    width: 2.45rem;
    height: 2.45rem;
  }

  header.sticky .brand-tagline {
    max-width: 10.5rem;
    font-size: 0.48rem;
    letter-spacing: 0.11em;
  }

  .home-hero-copy h1 {
    font-size: clamp(2.5rem, 12vw, 3.4rem);
  }

  .article-page .article-content > h2 {
    align-items: flex-start;
  }

  .article-page .article-links {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 360px) {
  header.sticky > div {
    gap: 0.4rem;
    padding-right: 0.65rem;
    padding-left: 0.65rem;
  }

  header.sticky > div > a {
    gap: 0.4rem;
  }

  header.sticky .brand-mark {
    width: 2.15rem;
    height: 2.15rem;
  }

  header.sticky .brand-name {
    gap: 0.15rem;
    font-size: 0.68rem;
  }

  header.sticky .brand-tagline {
    max-width: 9.4rem;
    font-size: 0.42rem;
    letter-spacing: 0.08em;
  }

  header details > summary.text-slate-700 {
    padding-right: 0.6rem;
    padding-left: 0.6rem;
  }
}

@media (max-width: 560px) {
  .site-footer {
    padding-top: 2rem;
  }

  .site-footer .footer-main {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.1rem;
  }

  .site-footer .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.85rem;
  }

  .site-footer .footer-links {
    gap: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
