:root {
  --bg: #ffd9ea;
  --bg-soft: #ffeaf3;
  --panel: rgba(255, 250, 252, 0.92);
  --panel-strong: #fff7fb;
  --text: #5f2d46;
  --text-soft: #87546d;
  --pink-1: #ffb9d3;
  --pink-2: #f68db9;
  --pink-3: #d76b98;
  --pink-4: #b94b7b;
  --rose-shadow: 0 24px 60px rgba(176, 84, 124, 0.18);
  --white-shadow: 0 14px 35px rgba(255, 255, 255, 0.35);
  --green: #93b86d;
  --mint: #d6f0cd;
  --gold: #f7cf77;
  --lavender: #b093dd;
  --sky: #75a9ff;
  --red-post: #ffdadf;
  --blue-post: #e1edff;
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 20px;
  --radius-pill: 999px;
  --max: 1160px;
  --font-display: "Palatino Linotype", "Book Antiqua", "URW Palladio L", Georgia, serif;
  --font-body: "Trebuchet MS", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.75), transparent 28%),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.6), transparent 30%),
    radial-gradient(circle at bottom center, rgba(255, 199, 220, 0.45), transparent 40%),
    linear-gradient(180deg, #ffd3e5 0%, #ffc3da 36%, #ffdeeb 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.42) 0 70px, transparent 72px),
    radial-gradient(circle at 85% 10%, rgba(255, 255, 255, 0.35) 0 90px, transparent 92px),
    radial-gradient(circle at 70% 78%, rgba(255, 255, 255, 0.3) 0 80px, transparent 82px);
  opacity: 0.7;
  z-index: -1;
}

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

img {
  max-width: 100%;
  display: block;
}

.site-shell {
  position: relative;
  overflow: hidden;
}

.container {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}

.site-header,
.site-footer {
  position: sticky;
  z-index: 30;
  background: rgba(255, 240, 247, 0.82);
  backdrop-filter: blur(18px);
}

.site-header {
  top: 0;
  border-bottom: 1px solid rgba(191, 99, 139, 0.18);
}

.site-footer {
  position: relative;
  margin-top: 4rem;
  border-top: 1px solid rgba(191, 99, 139, 0.18);
}

.header-row,
.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2vw, 2rem);
  font-weight: 700;
}

.brand-mark {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #fff, #ffc6dd);
  box-shadow: var(--white-shadow);
}

.nav-links,
.footer-links,
.footer-community {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.nav-link,
.pill-link,
.action-button,
.tag,
.tiny-button,
button,
input,
select,
textarea {
  border-radius: var(--radius-pill);
}

.nav-link,
.pill-link {
  padding: 0.8rem 1rem;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(191, 99, 139, 0.14);
  box-shadow: 0 10px 25px rgba(188, 105, 143, 0.08);
  transition: transform 0.25s ease, background 0.25s ease;
}

.nav-link:hover,
.pill-link:hover,
.action-button:hover,
.soft-tilt:hover,
.card:hover,
.timeline-card:hover,
.rule-card:hover,
.profile-card:hover,
.contact-card:hover,
.mods-post:hover {
  transform: translateY(-3px);
}

.nav-link.is-active {
  background: linear-gradient(135deg, #f9a7c9, #ffd8e8);
}

main {
  padding-top: 2rem;
}

.hero,
.banner,
.cta-strip,
.wide-panel,
.image-callout,
.mods-shell,
.login-panel,
.executive-page {
  border-radius: var(--radius-xl);
  box-shadow: var(--rose-shadow);
}

.hero,
.banner,
.cta-strip,
.wide-panel,
.section-panel,
.rule-card,
.card,
.image-callout,
.profile-card,
.contact-card,
.mods-post,
.comment-card,
.login-panel,
.mods-shell,
.legend-card,
.executive-page {
  position: relative;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid rgba(191, 99, 139, 0.12);
}

.hero,
.banner,
.cta-strip,
.wide-panel,
.section-panel,
.image-callout,
.mods-shell,
.login-panel,
.executive-page {
  padding: clamp(1.3rem, 2vw, 2.3rem);
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  align-items: center;
  background:
    radial-gradient(circle at 80% 18%, rgba(255, 255, 255, 0.68), transparent 22%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.85), rgba(255, 208, 228, 0.86));
}

.hero-copy h1,
.section-title,
.page-title,
.executive-title {
  font-family: var(--font-display);
  line-height: 1.05;
  margin: 0;
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 5vw, 4.9rem);
}

.hero-copy .eyebrow,
.section-kicker,
.mini-heading {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: var(--text-soft);
  margin-bottom: 0.7rem;
}

.hero-copy p,
.section-panel p,
.card p,
.rule-card p,
.profile-card p,
.contact-card p,
.executive-page p,
.mods-intro p {
  line-height: 1.7;
  color: var(--text-soft);
}

.hero-actions,
.button-row,
.contact-actions,
.post-actions,
.comment-actions,
.toolbar-actions,
.filters,
.mods-top-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

.action-button,
button,
.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.35rem;
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-family: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  box-shadow: 0 15px 25px rgba(188, 105, 143, 0.14);
}

.button-primary,
button[type="submit"],
.button-link {
  color: white;
  background: linear-gradient(135deg, var(--pink-3), var(--pink-2));
}

.button-secondary {
  color: var(--text);
  background: linear-gradient(135deg, white, #ffe4ef);
}

.button-accent {
  color: var(--text);
  background: linear-gradient(135deg, #ffe9f2, #ffc1da);
}

.button-dark {
  color: white;
  background: linear-gradient(135deg, #cf688e, #9f4c73);
}

.button-sky {
  color: #174478;
  background: linear-gradient(135deg, #cfe2ff, #8eb5ff);
}

.button-red {
  color: #7a1735;
  background: linear-gradient(135deg, #ffd8df, #ff9aad);
}

.hero-visual {
  min-height: 420px;
  border-radius: 32px;
  background:
    radial-gradient(circle at 50% 22%, rgba(255, 255, 255, 0.95) 0 90px, transparent 92px),
    radial-gradient(circle at 45% 68%, rgba(255, 240, 248, 0.92) 0 118px, transparent 120px),
    linear-gradient(180deg, #ffd8e8 0%, #f9b0ca 100%);
  box-shadow: inset 0 -18px 35px rgba(188, 105, 143, 0.16);
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.cloud-scene {
  width: 100%;
  height: 100%;
  border-radius: 28px;
  position: relative;
  background:
    radial-gradient(circle at 30% 32%, rgba(255, 255, 255, 0.84) 0 64px, transparent 66px),
    radial-gradient(circle at 58% 28%, rgba(255, 255, 255, 0.74) 0 58px, transparent 60px),
    radial-gradient(circle at 62% 66%, rgba(255, 221, 236, 0.92) 0 140px, transparent 142px),
    linear-gradient(180deg, #ffc1d9, #ff94bf);
  overflow: hidden;
}

.cloud-scene::before,
.cloud-scene::after {
  content: "🍄 🌿 ✨ 🌸";
  position: absolute;
  width: 100%;
  text-align: center;
  font-size: clamp(1.6rem, 2vw, 2.2rem);
  opacity: 0.82;
}

.cloud-scene::before {
  top: 20%;
  animation: drift 10s ease-in-out infinite;
}

.cloud-scene::after {
  bottom: 18%;
  animation: drift 12s ease-in-out infinite reverse;
}

@keyframes drift {
  0%, 100% { transform: translateX(-10px) translateY(0); }
  50% { transform: translateX(10px) translateY(-8px); }
}

.emoji-ribbon {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1.5rem 0 2.3rem;
}

.emoji-bob {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--white-shadow);
  font-size: 1.8rem;
  animation: float 6s ease-in-out infinite;
}

.emoji-bob:nth-child(2n) {
  animation-duration: 7.5s;
}

.emoji-bob:nth-child(3n) {
  animation-duration: 8.5s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.grid-3,
.grid-4,
.grid-2 {
  display: grid;
  gap: 1rem;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.card,
.profile-card,
.contact-card,
.rule-card,
.timeline-card,
.legend-card {
  padding: 1.2rem;
  border-radius: var(--radius-lg);
}

.showcase-card {
  min-height: 265px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
}

.showcase-card:nth-child(1) {
  background:
    linear-gradient(180deg, transparent, rgba(95, 45, 70, 0.64)),
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.72) 0 55px, transparent 57px),
    linear-gradient(180deg, #f6d8e5, #a4c89f);
}

.showcase-card:nth-child(2) {
  background:
    linear-gradient(180deg, transparent, rgba(95, 45, 70, 0.64)),
    radial-gradient(circle at 38% 25%, rgba(255, 245, 250, 0.76) 0 50px, transparent 52px),
    linear-gradient(180deg, #f9d0dd, #f0a5c3);
}

.showcase-card:nth-child(3) {
  background:
    linear-gradient(180deg, transparent, rgba(95, 45, 70, 0.64)),
    radial-gradient(circle at 58% 20%, rgba(255, 245, 250, 0.7) 0 58px, transparent 60px),
    linear-gradient(180deg, #ffd7e8, #d9b1c5);
}

.showcase-card h3,
.showcase-card p {
  color: white;
}

.why-wrap .card {
  text-align: center;
}

.circle-emoji {
  width: 72px;
  height: 72px;
  margin: 0 auto 1rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff, #ffd1e3);
  font-size: 1.8rem;
}

.cta-strip {
  display: grid;
  grid-template-columns: 1.1fr auto;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  background: linear-gradient(135deg, #ce6c94, #aa4d75);
  color: white;
}

.cta-strip p {
  color: rgba(255, 255, 255, 0.84);
}

.section {
  margin-top: 2.2rem;
}

.section-title {
  font-size: clamp(2rem, 3vw, 3.4rem);
  margin-bottom: 0.6rem;
}

.section-intro {
  margin-bottom: 1.4rem;
  max-width: 760px;
  line-height: 1.8;
  color: var(--text-soft);
}

.about-grid .card {
  background: rgba(255, 255, 255, 0.88);
}

.image-callout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
  align-items: center;
  background: linear-gradient(135deg, rgba(255,255,255,0.88), rgba(255,226,238,0.94));
}

.forest-art {
  min-height: 360px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 30% 18%, rgba(255,255,255,0.78) 0 56px, transparent 58px),
    linear-gradient(180deg, rgba(255,230,241,0.9), rgba(246,164,198,0.82)),
    linear-gradient(90deg, rgba(148,188,136,0.42), rgba(255,197,220,0.2));
  position: relative;
  overflow: hidden;
}

.forest-art::before,
.forest-art::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 56%;
  background:
    radial-gradient(circle at 10% 100%, rgba(101, 144, 89, 0.7) 0 46px, transparent 48px),
    radial-gradient(circle at 30% 100%, rgba(126, 167, 112, 0.75) 0 58px, transparent 60px),
    radial-gradient(circle at 55% 100%, rgba(142, 186, 133, 0.68) 0 70px, transparent 72px),
    radial-gradient(circle at 78% 100%, rgba(112, 150, 95, 0.75) 0 62px, transparent 64px);
}

.forest-art::after {
  inset: auto 0 0 0;
  height: 100%;
  background:
    linear-gradient(90deg, transparent 0 8%, rgba(121, 84, 107, 0.38) 8% 10%, transparent 10% 26%, rgba(121, 84, 107, 0.36) 26% 28%, transparent 28% 45%, rgba(121, 84, 107, 0.34) 45% 47%, transparent 47% 70%, rgba(121, 84, 107, 0.34) 70% 72%, transparent 72%);
  mix-blend-mode: multiply;
}

.rules-list {
  display: grid;
  gap: 0.9rem;
}

.rule-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}

.rule-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: linear-gradient(135deg, #fff, #ffd8e8);
  font-size: 1.55rem;
}

.profiles-grid .profile-card:nth-child(1) {
  background: linear-gradient(180deg, #ffebf3, #ffbfd8);
}

.profiles-grid .profile-card:nth-child(2) {
  background: linear-gradient(180deg, #fff5d6, #f6d36b);
}

.profiles-grid .profile-card:nth-child(3) {
  background: linear-gradient(180deg, #f1e7ff, #c6aae9);
}

.profiles-grid .profile-card:nth-child(4) {
  background: linear-gradient(180deg, #ebffe6, #99cf84);
}

.profile-card {
  min-height: 280px;
}

.profile-card h3,
.profile-card p,
.profile-card .mini-heading {
  color: #4f2640;
}

.profile-card a.button-link {
  margin-top: auto;
}

.support-note {
  margin-top: 1rem;
  padding: 1rem 1.2rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
}

.connect-hero {
  text-align: center;
}

.connect-hero .section-intro {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.timeline-card {
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(255,255,255,0.92), rgba(255,227,238,0.92));
}

.join-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 1.25rem;
  align-items: center;
}

.network-art {
  min-height: 360px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.82) 0 55px, transparent 57px),
    radial-gradient(circle at 70% 45%, rgba(255, 255, 255, 0.4) 0 34px, transparent 36px),
    linear-gradient(145deg, #ffd8e8, #f8aac7);
  position: relative;
  overflow: hidden;
}

.network-art::before,
.network-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 18% 28%, #fff 0 7px, transparent 8px),
    radial-gradient(circle at 50% 18%, #fff 0 9px, transparent 10px),
    radial-gradient(circle at 78% 32%, #fff 0 8px, transparent 9px),
    radial-gradient(circle at 28% 68%, #fff 0 10px, transparent 11px),
    radial-gradient(circle at 66% 74%, #fff 0 9px, transparent 10px);
}

.network-art::after {
  background:
    linear-gradient(28deg, transparent 20%, rgba(255,255,255,0.42) 20% 21%, transparent 21%),
    linear-gradient(68deg, transparent 40%, rgba(255,255,255,0.4) 40% 41%, transparent 41%),
    linear-gradient(138deg, transparent 51%, rgba(255,255,255,0.35) 51% 52%, transparent 52%);
}

.steps-list {
  display: grid;
  gap: 1rem;
}

.step-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(191, 99, 139, 0.14);
}

.step-number {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: white;
  font-weight: 700;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink-3), var(--pink-2));
}

.contact-card {
  min-height: 100%;
}

.discord-wide {
  width: 100%;
}

.image-callout-copy {
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-callout-centered {
  text-align: center;
}

.image-callout-title {
  width: 100%;
  font-size: clamp(2.5rem, 4.6vw, 4.5rem);
  margin: 0;
}

.contact-grid {
  align-items: stretch;
}

form {
  display: grid;
  gap: 1rem;
}

label {
  display: grid;
  gap: 0.45rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(191, 99, 139, 0.18);
  padding: 0.95rem 1rem;
  font: inherit;
  background: rgba(255,255,255,0.92);
  color: var(--text);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

#post-content {
  border-radius: 0;
  background: #ffffff;
  border: 1px solid rgba(191, 99, 139, 0.22);
  box-shadow: none;
}

.content-field {
  background: transparent;
  padding: 0;
  border: none;
  border-radius: 0;
}

.mods-wrapper {
  padding: 2rem 0 4rem;
}

.login-panel {
  max-width: 620px;
  margin: 3rem auto 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.92), rgba(255,225,237,0.96));
}

.mods-shell {
  display: none;
  gap: 1.2rem;
}

.mods-shell.is-active {
  display: grid;
}

.mods-header {
  display: grid;
  gap: 1rem;
}

.mods-topbar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.identity-chip {
  padding: 1rem 1.2rem;
  border-radius: 28px;
  color: white;
  min-width: 280px;
  box-shadow: var(--rose-shadow);
}

.identity-chip.staff {
  background: linear-gradient(135deg, #79a9ff, #4f7fdb);
}

.identity-chip.executive {
  background: linear-gradient(135deg, #ff91a5, #db5773);
}

.mods-intro {
  border-radius: 28px;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.78);
}

.legend-card {
  display: inline-flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.legend-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
}

.legend-pill.executive {
  background: var(--red-post);
}

.legend-pill.staff {
  background: var(--blue-post);
}

.mods-toolbar {
  display: grid;
  gap: 1rem;
}

.mods-posts {
  display: grid;
  gap: 1rem;
}

.mods-post {
  border-radius: 28px;
  padding: 1.25rem;
}

.mods-post.staff {
  background: linear-gradient(180deg, rgba(225, 237, 255, 0.96), rgba(240, 246, 255, 0.98));
}

.mods-post.executive {
  background: linear-gradient(180deg, rgba(255, 227, 232, 0.98), rgba(255, 243, 245, 0.98));
}

.post-meta {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  align-items: center;
  color: var(--text-soft);
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  font-size: 0.86rem;
  font-weight: 700;
}

.tag.executive {
  background: #ffb8c2;
  color: #79233c;
}

.tag.staff {
  background: #b6d3ff;
  color: #1f4984;
}

.tag.pin {
  background: #ffe7aa;
}

.tag.flag {
  background: #ffd2d7;
}

.post-body {
  line-height: 1.7;
  white-space: pre-wrap;
}

.post-body strong,
.post-body em,
.post-body span {
  display: inline;
}

.comment-thread {
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
}

.comment-card {
  padding: 0.9rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
}

.reply-list {
  display: grid;
  gap: 0.6rem;
  margin-top: 0.7rem;
  padding-left: 1rem;
  border-left: 2px solid rgba(191, 99, 139, 0.14);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(95, 45, 70, 0.38);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 40;
}

.modal-backdrop.is-open {
  display: flex;
}

.modal-card {
  width: min(100%, 760px);
  max-height: calc(100vh - 2rem);
  overflow: auto;
  border-radius: 30px;
  padding: 1.4rem;
  background: linear-gradient(135deg, #fff6fa, #ffe0ec);
  box-shadow: var(--rose-shadow);
}

.rich-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.tiny-button {
  padding: 0.45rem 0.8rem;
  border: none;
  background: rgba(255,255,255,0.82);
  cursor: pointer;
  font-weight: 700;
}

.empty-state {
  text-align: center;
  padding: 2rem 1rem;
  border-radius: 28px;
  background: rgba(255,255,255,0.7);
}

.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 1rem;
  align-items: start;
}

.footer-note {
  line-height: 1.7;
  color: var(--text-soft);
}

.page-spacer {
  height: 1px;
}

.executive-page {
  max-width: 920px;
  margin: 2rem auto 4rem;
}

.executive-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.executive-placeholder {
  padding: 1rem;
  border-radius: 28px;
  background: rgba(255,255,255,0.76);
  line-height: 1.8;
}

.soft-tilt {
  transform: translate3d(var(--tx, 0), var(--ty, 0), 0);
  transition: transform 0.22s ease;
}

@media (max-width: 960px) {
  .hero,
  .cta-strip,
  .image-callout,
  .join-layout,
  .site-footer .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .mods-topbar {
    align-items: stretch;
  }
}

@media (max-width: 720px) {
  .grid-3,
  .grid-2,
  .grid-4,
  .header-row {
    grid-template-columns: 1fr;
  }

  .header-row,
  .footer-grid,
  .mods-topbar,
  .toolbar-actions,
  .hero-actions {
    display: grid;
  }

  .hero-visual {
    min-height: 300px;
  }

  .nav-links,
  .footer-links,
  .footer-community {
    justify-content: center;
  }

  .brand {
    justify-content: center;
  }

  .identity-chip {
    min-width: auto;
  }
}
