* {
  box-sizing: border-box;
}

:root {
  --bg: #090b12;
  --paper: #f6f2ea;
  --paper-2: #ebe4d6;
  --text: #151515;
  --text-on-dark: #f8f3e8;
  --muted: #726b61;
  --muted-on-dark: rgba(248, 243, 232, 0.72);
  --line: rgba(21, 21, 21, 0.12);
  --line-light: rgba(255, 255, 255, 0.18);
  --glass: rgba(255, 255, 255, 0.1);
  --glass-strong: rgba(255, 255, 255, 0.18);
  --blue: #2f80ff;
  --orange: #ff9a3d;
  --green: #35d07f;
  --red: #ff5e57;
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.18);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Microsoft YaHei",
    sans-serif;
}

body.menu-open,
body.dialog-open {
  overflow: hidden;
}

button,
input,
a {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 999;
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff;
  color: #111;
  transform: translateY(-140%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 18px 22px auto;
  z-index: 50;
  height: 68px;
  padding: 0 12px 0 14px;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  background: rgba(9, 11, 18, 0.5);
  color: var(--text-on-dark);
  backdrop-filter: blur(22px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

.site-header.scrolled {
  background: rgba(9, 11, 18, 0.78);
  border-color: rgba(255, 255, 255, 0.13);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 182px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 950;
  letter-spacing: -0.08em;
  background:
    radial-gradient(circle at 25% 20%, rgba(255, 255, 255, 0.55), transparent 22%),
    linear-gradient(135deg, #2f80ff, #9c6cff 48%, #ff9a3d);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.brand-copy {
  display: grid;
  line-height: 1.05;
}

.brand-copy strong {
  letter-spacing: -0.03em;
}

.brand-copy small {
  margin-top: 4px;
  color: var(--muted-on-dark);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.nav-link {
  padding: 10px 13px;
  border-radius: 999px;
  color: rgba(248, 243, 232, 0.78);
  font-size: 14px;
  transition:
    color 0.16s ease,
    background 0.16s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.solid-btn,
.ghost-btn,
.glass-btn,
.portal-btn {
  border: 0;
  border-radius: 999px;
  min-height: 42px;
  padding: 0 18px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.16s ease,
    background 0.16s ease,
    border-color 0.16s ease,
    opacity 0.16s ease;
}

.solid-btn {
  color: #111;
  background: #fff;
}

.solid-btn:hover,
.ghost-btn:hover,
.glass-btn:hover,
.portal-btn:hover,
.user-chip:hover {
  transform: translateY(-1px);
}

.ghost-btn,
.portal-btn {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: inherit;
  background: rgba(255, 255, 255, 0.08);
}

.portal-section .ghost-btn,
.workspace-view .ghost-btn {
  border-color: var(--line);
  color: var(--text);
  background: rgba(0, 0, 0, 0.04);
}

.glass-btn {
  border: 1px solid rgba(255, 255, 255, 0.23);
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.large {
  min-height: 52px;
  padding: 0 24px;
}

.full {
  width: 100%;
}

.user-chip {
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 0 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.user-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(53, 208, 127, 0.18);
}

.only-user {
  display: none !important;
}

body.is-authenticated .only-user {
  display: inline-flex !important;
}

body.is-authenticated .only-guest {
  display: none !important;
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  place-items: center;
}

.menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.menu-btn span + span {
  margin-top: 5px;
}

.mobile-menu {
  position: fixed;
  inset: 96px 22px auto;
  z-index: 49;
  padding: 12px;
  border: 1px solid var(--line-light);
  border-radius: 26px;
  background: rgba(9, 11, 18, 0.86);
  color: #fff;
  backdrop-filter: blur(22px);
  box-shadow: var(--shadow);
  display: none;
}

.mobile-menu.open {
  display: grid;
  gap: 8px;
}

.mobile-menu a,
.mobile-menu button {
  width: 100%;
  border: 0;
  border-radius: 16px;
  padding: 14px 16px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  text-align: left;
}

.hero-section {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  color: var(--text-on-dark);
  background: #0a0d14;
  display: grid;
  align-items: end;
  padding: 142px 7vw 84px;
}

.hero-slides,
.hero-slides::after,
.hero-noise {
  position: absolute;
  inset: 0;
}

.hero-slides::after {
  content: "";
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(5, 7, 12, 0.84), rgba(5, 7, 12, 0.34) 48%, rgba(5, 7, 12, 0.12)),
    linear-gradient(0deg, rgba(5, 7, 12, 0.8), transparent 50%);
}

.hero-noise {
  z-index: 3;
  pointer-events: none;
  opacity: 0.28;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.14) 0 1px, transparent 1px),
    radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.1) 0 1px, transparent 1px);
  background-size: 42px 42px, 58px 58px;
  mix-blend-mode: screen;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.04);
  transition:
    opacity 0.9s ease,
    transform 6s ease;
  background-position: center;
  background-size: cover;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-content {
  position: relative;
  z-index: 4;
  width: min(860px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-content h1 {
  margin: 0;
  font-size: clamp(48px, 8vw, 112px);
  line-height: 0.92;
  letter-spacing: -0.08em;
  text-wrap: balance;
}

.hero-desc {
  width: min(720px, 100%);
  margin: 28px 0 0;
  color: var(--muted-on-dark);
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.9;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-meta {
  margin-top: 44px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-meta span {
  padding: 8px 12px;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(248, 243, 232, 0.74);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.slide-controller {
  position: absolute;
  right: 7vw;
  bottom: 88px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
}

.slide-controller button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

.slide-dots {
  display: flex;
  gap: 7px;
}

.slide-dot {
  width: 30px;
  height: 4px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: rgba(255, 255, 255, 0.28);
}

.slide-dot.active {
  background: #fff;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 5;
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.scroll-cue i {
  width: 1px;
  height: 46px;
  background: linear-gradient(#fff, transparent);
  animation: cue 1.8s ease-in-out infinite;
}

@keyframes cue {
  0%, 100% { transform: scaleY(0.5); transform-origin: top; opacity: 0.5; }
  50% { transform: scaleY(1); opacity: 1; }
}

.intro-strip {
  position: relative;
  z-index: 6;
  margin: -42px auto 0;
  width: min(1120px, calc(100% - 36px));
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 24px;
  background: rgba(246, 242, 234, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.intro-strip div {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.55);
}

.intro-strip strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.intro-strip span {
  color: var(--muted);
  line-height: 1.65;
}

.content-section {
  padding: 116px 7vw;
}

.section-head {
  width: min(760px, 100%);
  margin-bottom: 38px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 72px);
  line-height: 1.03;
  letter-spacing: -0.06em;
}

.section-head p:not(.eyebrow) {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}

.section-head.invert {
  color: #fff;
}

.section-head.invert p:not(.eyebrow) {
  color: var(--muted-on-dark);
}

.team-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) 1.18fr;
  gap: 18px;
  align-items: stretch;
}

.featured-card,
.role-card,
.project-card,
.timeline-item,
.portal-shell,
.auth-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 14px 40px rgba(40, 31, 16, 0.08);
}

.featured-card {
  padding: 34px;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    radial-gradient(circle at 80% 20%, rgba(47, 128, 255, 0.22), transparent 32%),
    linear-gradient(135deg, #fff, #e9dfcf);
}

.card-index {
  margin-bottom: auto;
  color: rgba(21, 21, 21, 0.28);
  font-size: 72px;
  font-weight: 950;
  letter-spacing: -0.08em;
}

.featured-card h3,
.role-card h3,
.project-card h3,
.timeline-item h3 {
  margin: 0;
  font-size: 24px;
  letter-spacing: -0.04em;
}

.featured-card p,
.role-card p,
.project-card p,
.timeline-item p,
.portal-intro p,
.locked-state p,
.guide-list p {
  color: var(--muted);
  line-height: 1.75;
}

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

.role-card {
  padding: 28px;
}

.role-card span {
  display: inline-grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 24px;
  border-radius: 18px;
  background: rgba(47, 128, 255, 0.1);
  font-size: 23px;
}

.dark-band {
  color: var(--text-on-dark);
  background:
    radial-gradient(circle at 12% 18%, rgba(47, 128, 255, 0.32), transparent 26%),
    radial-gradient(circle at 82% 60%, rgba(255, 154, 61, 0.2), transparent 28%),
    #090b12;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.project-card {
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.project-card > div:last-child {
  padding: 24px;
}

.project-cover {
  height: 260px;
  background-size: cover;
  background-position: center;
}

.cover-a {
  background:
    linear-gradient(140deg, rgba(47, 128, 255, 0.84), rgba(10, 13, 20, 0.15)),
    url("./assets/slides/slide-2.svg") center / cover;
}

.cover-b {
  background:
    linear-gradient(140deg, rgba(255, 154, 61, 0.82), rgba(10, 13, 20, 0.18)),
    url("./assets/slides/slide-3.svg") center / cover;
}

.cover-c {
  background:
    linear-gradient(140deg, rgba(156, 108, 255, 0.8), rgba(10, 13, 20, 0.18)),
    url("./assets/slides/slide-4.svg") center / cover;
}

.project-tag {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-card p {
  color: var(--muted-on-dark);
}

.process-section {
  background:
    radial-gradient(circle at 100% 40%, rgba(255, 154, 61, 0.12), transparent 28%),
    var(--paper);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.timeline-item {
  padding: 26px;
}

.timeline-item span {
  color: var(--blue);
  font-size: 34px;
  font-weight: 950;
  letter-spacing: -0.06em;
}

.portal-section {
  padding: 106px 7vw 120px;
  background: var(--paper-2);
}

.portal-shell {
  padding: 22px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.55);
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) 1.14fr;
  gap: 18px;
}

.portal-intro {
  padding: 34px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 10% 10%, rgba(47, 128, 255, 0.18), transparent 28%),
    #fff;
}

.portal-intro h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 58px);
  letter-spacing: -0.06em;
}

.portal-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
  color: var(--text);
}

.portal-panel {
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.68);
  overflow: hidden;
}

.locked-state {
  height: 100%;
  min-height: 420px;
  padding: 34px;
  display: grid;
  place-content: center;
  text-align: center;
}

.lock-icon {
  margin: 0 auto 18px;
  width: 74px;
  height: 74px;
  border-radius: 26px;
  display: grid;
  place-items: center;
  background: rgba(47, 128, 255, 0.1);
  font-size: 30px;
}

.member-workspace {
  display: none !important;
  height: 100%;
  padding: 18px;
}

body.is-authenticated .member-workspace.only-user {
  display: block !important;
}

.workspace-tabs {
  padding: 6px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.05);
  display: inline-flex;
  gap: 4px;
}

.tab-btn {
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  color: var(--muted);
  background: transparent;
  font-weight: 900;
}

.tab-btn.active {
  color: var(--text);
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.workspace-view {
  display: none;
  padding: 24px 4px 4px;
}

.workspace-view.active {
  display: block;
}

.panel-head {
  margin-bottom: 18px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.panel-head h3 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.04em;
}

.panel-head p {
  margin: 6px 0 0;
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.service-card {
  min-height: 132px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  display: grid;
  align-content: space-between;
  gap: 20px;
  transition:
    transform 0.16s ease,
    border-color 0.16s ease,
    box-shadow 0.16s ease;
}

.service-card:hover {
  transform: translateY(-2px);
  border-color: rgba(47, 128, 255, 0.45);
  box-shadow: 0 16px 35px rgba(47, 128, 255, 0.12);
}

.service-card h4 {
  margin: 0;
  font-size: 18px;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.network-status {
  margin-top: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  display: flex;
  gap: 14px;
  align-items: center;
}

.status-orb {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.network-status.waiting .status-orb {
  color: #7a7a7a;
  background: rgba(122, 122, 122, 0.12);
}

.network-status.checking .status-orb {
  color: var(--orange);
  background: rgba(255, 154, 61, 0.13);
}

.network-status.online .status-orb {
  color: var(--green);
  background: rgba(53, 208, 127, 0.14);
}

.network-status.offline .status-orb {
  color: var(--red);
  background: rgba(255, 94, 87, 0.14);
}

.network-status strong {
  display: block;
  margin-bottom: 4px;
  font-size: 18px;
}

.network-status p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.status-meta {
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 12px;
}

.guide-list {
  display: grid;
  gap: 12px;
}

.guide-list article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
}

.guide-list span {
  width: 42px;
  height: 42px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #111;
  font-weight: 950;
}

.guide-list h3 {
  margin: 0;
}

.guide-list p {
  margin: 6px 0 0;
}

.site-footer {
  padding: 28px 7vw;
  color: var(--text-on-dark);
  background: #090b12;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.site-footer p {
  margin: 6px 0 0;
  color: var(--muted-on-dark);
}

.auth-dialog {
  width: min(460px, calc(100% - 28px));
  border: 0;
  padding: 0;
  background: transparent;
}

.auth-dialog::backdrop {
  background: rgba(5, 7, 12, 0.68);
  backdrop-filter: blur(10px);
}

.auth-card {
  position: relative;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 28px;
  background: rgba(246, 242, 234, 0.96);
  box-shadow: var(--shadow);
}

.close-btn {
  position: absolute;
  right: 16px;
  top: 16px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.06);
  font-size: 24px;
}

.auth-head h2 {
  margin: 0;
  font-size: 34px;
  letter-spacing: -0.05em;
}

.auth-head p:not(.eyebrow) {
  margin: 10px 0 22px;
  color: var(--muted);
  line-height: 1.65;
}

.auth-card label {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.auth-card input {
  width: 100%;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 14px;
  outline: none;
  background: #fff;
  color: var(--text);
}

.auth-card input:focus {
  border-color: rgba(47, 128, 255, 0.56);
  box-shadow: 0 0 0 4px rgba(47, 128, 255, 0.1);
}

.auth-card .solid-btn {
  margin-top: 8px;
  color: #fff;
  background: #111;
}

.auth-switch {
  margin: 18px 0 0;
  color: var(--muted);
  text-align: center;
}

.auth-switch button {
  border: 0;
  color: var(--blue);
  background: transparent;
  font-weight: 900;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 1060px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .main-nav,
  .header-actions > .only-guest,
  .header-actions > .only-user:not(.user-chip),
  .user-chip {
    display: none !important;
  }

  .menu-btn {
    display: grid;
  }

  body.is-authenticated .mobile-menu .only-user {
    display: block !important;
  }

  .mobile-menu .only-user {
    display: none !important;
  }

  .team-layout,
  .portal-shell {
    grid-template-columns: 1fr;
  }

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

  .slide-controller {
    right: auto;
    left: 7vw;
    bottom: 52px;
  }

  .scroll-cue {
    display: none;
  }
}

@media (max-width: 720px) {
  .site-header {
    inset: 12px;
    height: 60px;
  }

  .brand {
    min-width: 0;
  }

  .brand-copy small {
    display: none;
  }

  .hero-section {
    padding: 112px 20px 104px;
  }

  .hero-content h1 {
    font-size: clamp(44px, 15vw, 78px);
  }

  .intro-strip,
  .role-grid,
  .project-grid,
  .timeline,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .content-section,
  .portal-section {
    padding: 74px 20px;
  }

  .featured-card {
    min-height: 320px;
  }

  .portal-shell,
  .portal-intro,
  .auth-card {
    padding: 20px;
  }

  .panel-head,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .mobile-menu {
    inset: 82px 12px auto;
  }
}
